[Fixed]-Nginx conf for Gunicorn on another vm?

1👍

You need to bind Gunicorn to an IP address and port instead of a UNIX socket.

Then in your Nginx config, change proxy_pass to the IP address and port that you are running gunicorn on.

proxy_pass http://1.2.3.4:8000;

Leave a comment