diff --git a/install-scripts/reverse-proxy b/install-scripts/reverse-proxy index 96826fe..b08e564 100644 --- a/install-scripts/reverse-proxy +++ b/install-scripts/reverse-proxy @@ -33,7 +33,7 @@ install_nginx(){ server_name $server_name www.$server_name; location / { - proxy_set_header Host ptut.com; + proxy_set_header Host \$host; proxy_pass http://127.0.0.1:$PORT; } }""" | sudo tee $CNF_ROOT/sites-available/ptut.reverse-proxy > /dev/null