mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-15 11:50:34 +01:00
14 lines
300 B
Caddyfile
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
|
|
}
|
|
} |