Minor tuning of Caddy configuration and improved documentation.

This commit is contained in:
Leo Vasanko
2025-09-25 19:12:11 -06:00
parent e514ae010d
commit eaca57f625
7 changed files with 87 additions and 14 deletions

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 {

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
}
}

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}
}