Closed DreamRuthenium closed 5 months ago
I tried to use port 8080 instead of 80, so I modified "install_mhnserver.sh" To be specific, I changed the port at this part from 80 to 8080:
cat > $NGINXCONFIG <<EOF server { listen 80; server_name _; location / { try_files \$uri @mhnserver; } root /opt/www; location @mhnserver { include uwsgi_params; uwsgi_pass unix:/tmp/uwsgi.sock; } location /static { alias $MHN_HOME/server/mhn/static; } } EOF
Is this right? the 8080 port seems not working, I wonder if I'v done something wrong.
Problem was solved. This way to change Port is correct. The problem I faced was caused by stupid iptables.
I tried to use port 8080 instead of 80, so I modified "install_mhnserver.sh" To be specific, I changed the port at this part from 80 to 8080:
Is this right? the 8080 port seems not working, I wonder if I'v done something wrong.