diff --git a/debian_install.sh b/debian_install.sh index 305424f8..4af337e4 100755 --- a/debian_install.sh +++ b/debian_install.sh @@ -414,6 +414,7 @@ server { listen ${NGINX_HTTP_PORT}; location / { include proxy_params; + proxy_set_header X-Forwarded-Port \$server_port; proxy_pass http://unix:${GUNICORN_SOCKET}; } location /static/ {