1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-15 11:50:34 +01:00
pingvin-share/reverse-proxy/Caddyfile.trust-proxy

14 lines
300 B
Caddyfile
Raw Normal View History

:3000 {
reverse_proxy /* http://localhost:{$PORT:3333} {
trusted_proxies 0.0.0.0/0
}
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
trusted_proxies 0.0.0.0/0
}
log {
output file /var/log/caddy/access.log
level WARN
}
}