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

8 lines
194 B
Caddyfile

:3000 {
# Reverse proxy for /api
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080}
# Reverse proxy for all other requests
reverse_proxy http://localhost:{$PORT:3333}
}