Skip to content

Commit

Permalink
Merge pull request #9 from Maksym-0xp/patch-1
Browse files Browse the repository at this point in the history
Update default.conf to include X-Forwarded-Host overwrite as default
  • Loading branch information
githubsaturn authored May 31, 2024
2 parents 74ec02a + 5cd2e28 commit 882137b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ server {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
# add support for websockets
proxy_set_header Upgrade $http_upgrade;
Expand Down

0 comments on commit 882137b

Please sign in to comment.