Hi, I'm wanting to install Nginx as a reverse proxy with an nginx.conf I can play around with myself. I've found scripts and instructions across the web and this forum but every answer hooks up uwsgi at the back and seems to use it to start the Nginx server. I tried one of those nginx/uwsgi tutorials with the uwsgi stripped out and couldn't get it working and a straight forward Nginx compilation indicated I had directories and files missing. The end result I'm trying to achieve is a straight forward Nginx reverse proxy that I can tweak to work with Gunicorn, Gevent and python websockets (not together, just one at a time). Any help appreciated, thanks. asked 04 Jul '16, 18:20 zilog8bit |
Here you go; this is a stripped-down version of the Nginx+uWSGI guide which simply performs a You'll first need to create a new
Finally, to start the application, execute answered 05 Jul '16, 09:12 ryans ♦♦ Really clear, thank you ryans it works perfectly. I can see how the server startup scripts work here too which looks like where I had gone wrong with the uwsgi mix in.
(05 Jul '16, 12:48)
zilog8bit
|
To just get nginx installed and then make whatever changes you want to the config, you should be able to just pull out the nginx install portion from this post answered 04 Jul '16, 18:31 bmeyer71 ♦♦ That was the post I stripped the uwsgi bit out of but got an error when about missing files when trying to start the server. I've tried following the steps twice now and I still don't end up with a ~/bin/nginx file. It's quite confusing with all the uwsgi stuff intertwined with it all.
(04 Jul '16, 19:46)
zilog8bit
|