Files
swiss-datashare/reverse-proxy/Caddyfile.trust-proxy
2024-10-18 16:07:32 +02:00

14 lines
300 B
Caddyfile

: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
}
}