Minor tuning of Caddy configuration and improved documentation.

This commit is contained in:
2025-09-26 07:12:11 +00:00
parent 39ba032450
commit ffbe8a6b18
7 changed files with 87 additions and 14 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ localhost {
# Public paths (no auth)
@public path /favicon.ico /.well-known/*
handle @public {
reverse_proxy :3000
root * /var/www/
file_server
}
# Respond with user's display name
handle_path /hello {
-1
View File
@@ -11,7 +11,6 @@ forward_auth {$AUTH_UPSTREAM:localhost:4401} {
Remote-Role
Remote-Role-Name
Remote-Session-Expires
Remote-Session-Type
Remote-Credential
}
}
+1 -1
View File
@@ -2,5 +2,5 @@
header -Remote-*
@auth_api path /auth /auth/*
handle @auth_api {
reverse_proxy {$AUTH_UPSTREAM:localhost:4401}
reverse_proxy {$AUTH_UPSTREAM::4401}
}