mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-16 02:03:05 +03:00
15 lines
366 B
Caddyfile
15 lines
366 B
Caddyfile
:{$CADDY_PORT:80} {
|
|
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
|
|
trusted_proxies 0.0.0.0/0
|
|
trusted_proxies ::/0
|
|
}
|
|
reverse_proxy /.well-known/* http://localhost:{$BACKEND_PORT:8080} {
|
|
trusted_proxies 0.0.0.0/0
|
|
trusted_proxies ::/0
|
|
}
|
|
reverse_proxy /* http://localhost:{$PORT:3000} {
|
|
trusted_proxies 0.0.0.0/0
|
|
trusted_proxies ::/0
|
|
}
|
|
}
|