|
I'm trying to deploy a Django web app using gunicorn behind nginx. This is my configuration
My question is, which value should I use for port number in How many Custom Apps (listening on port) should I create? Just one for nginx or one for nginx and one one for gunicorn? |
|
For your nginx you would use the port that is assigned from the control panel to listen on. As well, going by this example you will also need to reserve a port for each instance of gunicorn you are going to run. |