I know that WebFaction uses nginx as frontend server for static files.
I'm trying to deploy a Django project with gunicorn and nginx configured as reverse proxy. I wonder if I have to install a local copy of nginx with a local .conf file, or if it's possible to use the main nginx server with the same local .conf file, and how.
asked Sep 29 '12 at 19:06
You can use the shared frontend Nginx server - just install a custom app (listening on port) through the control panel, then configure your Gunicorn server to listen to the port assigned to this new app, and assign that app to your site in the control panel. Nginx will forward requests for that site to the specified port.
answered Sep 30 '12 at 02:11