Provide user info in Remote-* headers. Caddy configuration improved.

This commit is contained in:
2025-09-26 06:12:40 +00:00
parent f28e69a9ce
commit 39ba032450
9 changed files with 109 additions and 51 deletions
+6
View File
@@ -0,0 +1,6 @@
# Setup auth service at /auth/ and remove any Remote-* headers sent by client (for security)
header -Remote-*
@auth_api path /auth /auth/*
handle @auth_api {
reverse_proxy {$AUTH_UPSTREAM:localhost:4401}
}