mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-05 01:38:56 -05:00
11 lines
251 B
Text
11 lines
251 B
Text
:3000 {
|
|
# Reverse proxy for /api
|
|
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
|
|
trusted_proxies 0.0.0.0/0
|
|
}
|
|
|
|
# Reverse proxy for all other requests
|
|
reverse_proxy /* http://localhost:{$PORT:3333} {
|
|
trusted_proxies 0.0.0.0/0
|
|
}
|
|
}
|