feat: add environment variable to trust the reverse proxy

This commit is contained in:
Elias Schneider
2024-09-18 23:01:50 +02:00
parent 97dc3ecfdd
commit b13a81a88c
9 changed files with 40 additions and 19 deletions

7
reverse-proxy/Caddyfile Normal file
View File

@@ -0,0 +1,7 @@
:3000 {
# Reverse proxy for /api
reverse_proxy /api/* http://localhost:8080
# Reverse proxy for all other requests
reverse_proxy http://localhost:3333
}