initial commit to enable token validation and key download

This commit is contained in:
2026-04-05 20:51:05 +02:00
parent 079375776b
commit 3b6daeef11
9 changed files with 124 additions and 32 deletions
+7 -3
View File
@@ -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
}
}
}