0
Fork 0
mirror of https://github.com/stonith404/pingvin-share.git synced 2025-01-29 01:28:59 -05:00
pingvin-share/reverse-proxy/Caddyfile.trust-proxy

12 lines
251 B
Text
Raw Normal View History

:3000 {
2024-12-24 16:06:59 +01:00
# Reverse proxy for /api
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
trusted_proxies 0.0.0.0/0
}
2024-12-24 16:06:59 +01:00
# Reverse proxy for all other requests
reverse_proxy /* http://localhost:{$PORT:3333} {
trusted_proxies 0.0.0.0/0
}
}