1👍
You haven’t got anything to tell nginx it should be proxying requests to gunicorn. In particular, you need a proxy_pass
directive and an upstream
section.
Also, you don’t want to run gunicorn on port 80, since that is what nginx is already bound to. That’s what the proxy is for.
The gunicorn deployment docs have an example nginx configuration which works fine.
Source:stackexchange.com