Files
pocket-id-pocket-id-2/reverse-proxy/Caddyfile.trust-proxy

15 lines
366 B
Caddyfile
Raw Normal View History

:{$CADDY_PORT:80} {
2024-09-27 11:10:33 +02:00
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
trusted_proxies 0.0.0.0/0
trusted_proxies ::/0
2024-09-27 11:10:33 +02:00
}
reverse_proxy /.well-known/* http://localhost:{$BACKEND_PORT:8080} {
trusted_proxies 0.0.0.0/0
trusted_proxies ::/0
2024-09-27 11:10:33 +02:00
}
reverse_proxy /* http://localhost:{$PORT:3000} {
trusted_proxies 0.0.0.0/0
trusted_proxies ::/0
2024-09-27 11:10:33 +02:00
}
}