📬 docs: Add Forwarded Headers to Nginx SSL Proxy Template (#12379)

Add X-Forwarded-Proto, X-Forwarded-For and Host headers in nginx proxy config. Addresses #12378.
This commit is contained in:
Christopher Bennell 2026-03-25 13:04:19 -04:00 committed by GitHub
parent 0c66823c26
commit 3f805d68a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,9 +86,15 @@ server {
# location /api {
# proxy_pass http://api:3080/api;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $host;
# }
# location / {
# proxy_pass http://api:3080;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $host;
# }
#}