initial commit to enable token validation and key download
This commit is contained in:
+7
-3
@@ -1,5 +1,8 @@
|
||||
# Caddyfile for DigiErbe Tresor
|
||||
tresor.example.com {
|
||||
# enable TLS encryption
|
||||
tls internal
|
||||
|
||||
#PHP
|
||||
php_fastcgi unix//run/php/php-fpm.sock
|
||||
|
||||
@@ -7,8 +10,9 @@ tresor.example.com {
|
||||
root * /Pfad/Zu/DigiErbe/Tresor/public
|
||||
|
||||
# Authentication
|
||||
basic_auth / {
|
||||
username $2a$14$SetHashedPasswordHere
|
||||
basic_auth {
|
||||
ownerName $2a$14$SetHashedPasswordHere
|
||||
allowedName $2a$14$SetHashedPasswordHere
|
||||
}
|
||||
|
||||
# Activate file server in Caddy
|
||||
@@ -32,4 +36,4 @@ tresor.example.com {
|
||||
log {
|
||||
output file /var/log/caddy/DigiErbe/tresor.log
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user