mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-16 18:22:59 +03:00
16 lines
387 B
Caddyfile
16 lines
387 B
Caddyfile
|
|
:80 {
|
||
|
|
reverse_proxy /api/* http://localhost:8080 {
|
||
|
|
trusted_proxies 0.0.0.0/0
|
||
|
|
}
|
||
|
|
reverse_proxy /.well-known/* http://localhost:8080 {
|
||
|
|
trusted_proxies 0.0.0.0/0
|
||
|
|
}
|
||
|
|
reverse_proxy /* http://localhost:3000 {
|
||
|
|
trusted_proxies 0.0.0.0/0
|
||
|
|
}
|
||
|
|
|
||
|
|
log {
|
||
|
|
output file /var/log/caddy/access.log
|
||
|
|
level WARN
|
||
|
|
}
|
||
|
|
}
|