fix: port environment variables get ignored in caddyfile

This commit is contained in:
Elias Schneider
2024-09-26 09:08:59 +02:00
parent 6bb613e0e7
commit 3c67765992
2 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
:80 {
reverse_proxy /api/* http://localhost:8080
reverse_proxy /.well-known/* http://localhost:8080
reverse_proxy /* http://localhost:3000
reverse_proxy /api/* http://localhost:{$BACKEND_PORT:8080}
reverse_proxy /.well-known/* http://localhost:{$BACKEND_PORT:8080}
reverse_proxy /* http://localhost:{$PORT:3000}
log {
output file /var/log/caddy/access.log