mirror of
https://github.com/nikdoof/pocket-id.git
synced 2026-01-30 06:08:14 +00:00
fix(caddy): trusted_proxies for IPv6 enabled hosts (#189)
This commit is contained in:
@@ -1,11 +1,14 @@
|
|||||||
:{$CADDY_PORT:80} {
|
:{$CADDY_PORT:80} {
|
||||||
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
|
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
|
||||||
trusted_proxies 0.0.0.0/0
|
trusted_proxies 0.0.0.0/0
|
||||||
|
trusted_proxies ::/0
|
||||||
}
|
}
|
||||||
reverse_proxy /.well-known/* http://localhost:{$BACKEND_PORT:8080} {
|
reverse_proxy /.well-known/* http://localhost:{$BACKEND_PORT:8080} {
|
||||||
trusted_proxies 0.0.0.0/0
|
trusted_proxies 0.0.0.0/0
|
||||||
|
trusted_proxies ::/0
|
||||||
}
|
}
|
||||||
reverse_proxy /* http://localhost:{$PORT:3000} {
|
reverse_proxy /* http://localhost:{$PORT:3000} {
|
||||||
trusted_proxies 0.0.0.0/0
|
trusted_proxies 0.0.0.0/0
|
||||||
|
trusted_proxies ::/0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user