nginx uwsgi python
1.0.0
Exemple de configuration pour exécuter des scripts Python via CGI via Nginx et UWSGI Application Server.

Modèle d'exécution:
http[s]://<dns_prefix>.<domain>/<python_script> ----> Nginx (reverse proxy) ----> uWSGI (CGI)
/nginx/XX-dns_prefix.conf => modèle nginx vhost/python_scripts/deploy.py => Exemple de script python à exécuter/python_scripts/uwsgi => uwsgi compilé via curl http://uwsgi.it/install | bash -s cgi <abs_path_to_python_scripts_dir>/uwsgi Commande/python_scripts/uwsgi.ini => fichier de configuration UWSGI/systemd/uwsgi.service => Fichier de service SystemD pour l'instance UWSGI responsable de l'exécution des scripts Python