Atualizar web/Caddyfile

This commit is contained in:
2026-08-19 20:32:32 -03:00
parent 9ee1b7d996
commit b65d7549f2
+6 -1
View File
@@ -10,7 +10,12 @@
# Proxy API calls to backend Flask # Proxy API calls to backend Flask
handle_path /api/* { handle_path /api/* {
reverse_proxy backend:8000 reverse_proxy backend:8000 {
header_up Host {host}
header_up X-Real-IP {remote}
header_up X-Forwarded-For {remote}
header_up X-Forwarded-Proto {scheme}
}
} }
# Proxy OAuth routes # Proxy OAuth routes