fix(caddy): trusted_proxies for IPv6 enabled hosts (#189)

This commit is contained in:
Andrew Pearson
2025-02-01 01:02:34 +01:00
committed by GitHub
parent 75f531fbc6
commit 37a835b44e
+3
View File
@@ -1,11 +1,14 @@
:{$CADDY_PORT:80} {
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
trusted_proxies 0.0.0.0/0
trusted_proxies ::/0
}
reverse_proxy /.well-known/* http://localhost:{$BACKEND_PORT:8080} {
trusted_proxies 0.0.0.0/0
trusted_proxies ::/0
}
reverse_proxy /* http://localhost:{$PORT:3000} {
trusted_proxies 0.0.0.0/0
trusted_proxies ::/0
}
}