Skip to content

Commit efb5789

Browse files
authored
Merge pull request jupyterhub#4671 from minrk/nginx-http-host
use $http_host in nginx proxy header
2 parents 2f091e5 + 603c59a commit efb5789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/howto/configuration/config-proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ server {
7979
location / {
8080
proxy_pass http://127.0.0.1:8000;
8181
proxy_set_header X-Real-IP $remote_addr;
82-
proxy_set_header Host $host;
82+
proxy_set_header Host $http_host;
8383
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
8484

8585
# websocket headers

0 commit comments

Comments
 (0)