Skip to content

Commit

Permalink
Merge pull request #3828 from mikiher/nginx-host-fix
Browse files Browse the repository at this point in the history
recommend using $http_host for ngnix
  • Loading branch information
advplyr authored Jan 12, 2025
2 parents 64e9ac9 + 1812282 commit 8c4a928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ server {

location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

Expand Down

0 comments on commit 8c4a928

Please sign in to comment.