Use uwsgi to configure nginx reverse generation python application

Web applications developed in python language are not like PHP, which can be accessed directly by placing them in a directory. It is necessary to configure the web service in the python environment, and then in order to unify the use of domain names and ports, you can use nginx to configure it to provide external services. access:

nginx configuration is as follows:

Subscribe to nginx