Jan-25-2020, 10:43 AM
This tutorial describes how to get python and django up and running:
https://www.digitalocean.com/community/t...untu-16-04
What I want to know is- once I get that all working, can I connect it to nginx after that? Or should I be starting the entire thing with nginx connecting to wsgi first beforehand; before I do that tutorial?
This (outdated and/or flawed) tutorial is connecting uWSGI to nginx beforehand:
https://uwsgi-docs.readthedocs.io/en/lat...figuration
But if I've already got regular python/django running outside of nginx in the first tutorial above), is it going to be difficult (or impossible) to connect it to nginx?
You see I don't want to go down the path to end up with a dead end- the goal is to get nginx to talk to it; not run django server entirely independently.
Also I found this:
https://serverfault.com/questions/590819...have-uwsgi
thanks
https://www.digitalocean.com/community/t...untu-16-04
What I want to know is- once I get that all working, can I connect it to nginx after that? Or should I be starting the entire thing with nginx connecting to wsgi first beforehand; before I do that tutorial?
This (outdated and/or flawed) tutorial is connecting uWSGI to nginx beforehand:
https://uwsgi-docs.readthedocs.io/en/lat...figuration
But if I've already got regular python/django running outside of nginx in the first tutorial above), is it going to be difficult (or impossible) to connect it to nginx?
You see I don't want to go down the path to end up with a dead end- the goal is to get nginx to talk to it; not run django server entirely independently.
Also I found this:
https://serverfault.com/questions/590819...have-uwsgi
thanks