Add `X-Forwarded-Host` to nginx example [skip ci] (#1169)

main
Amin 2024-09-30 12:34:15 -04:00 committed by GitHub
parent 5cf5ad992a
commit 79b6e9a157
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -599,6 +599,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
proxy_set_header X-Forwarded-Host $http_host;
proxy_pass http://localhost:5000;
}
}