chore: change location of Caddyfiles
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
:3000 {
|
||||
# Reverse proxy for /api
|
||||
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080}
|
||||
# Reverse proxy for /api
|
||||
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080}
|
||||
|
||||
# Reverse proxy for all other requests
|
||||
reverse_proxy http://localhost:{$PORT:3333}
|
||||
# Reverse proxy for all other requests
|
||||
reverse_proxy http://localhost:{$PORT:3333}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
:3000 {
|
||||
reverse_proxy /* http://localhost:{$PORT:3333} {
|
||||
trusted_proxies 0.0.0.0/0
|
||||
}
|
||||
# Reverse proxy for /api
|
||||
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080} {
|
||||
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
|
||||
}
|
||||
}
|
||||
# Reverse proxy for all other requests
|
||||
reverse_proxy /* http://localhost:{$PORT:3333} {
|
||||
trusted_proxies 0.0.0.0/0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user