Skip to content

Commit

Permalink
Merge pull request jupyterhub#4671 from minrk/nginx-http-host
Browse files Browse the repository at this point in the history
use $http_host in nginx proxy header
  • Loading branch information
manics authored Jan 11, 2024
2 parents 2f091e5 + 603c59a commit efb5789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/howto/configuration/config-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ server {
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

# websocket headers
Expand Down

0 comments on commit efb5789

Please sign in to comment.