Atualizar web/Caddyfile
This commit is contained in:
+6
-1
@@ -10,7 +10,12 @@
|
||||
|
||||
# Proxy API calls to backend Flask
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user