nginx uwsgi python
1.0.0
ตัวอย่างการกำหนดค่าเพื่อเรียกใช้สคริปต์ Python ผ่าน CGI ผ่าน NGINX และ UWSGI Application Server

รูปแบบการดำเนินการ:
http[s]://<dns_prefix>.<domain>/<python_script> ----> Nginx (reverse proxy) ----> uWSGI (CGI)
/nginx/XX-dns_prefix.conf => เทมเพลต nginx vhost/python_scripts/deploy.py => ตัวอย่างสคริปต์ Python เพื่อดำเนินการ/python_scripts/uwsgi => uwsgi ไบนารีที่รวบรวมผ่าน curl http://uwsgi.it/install | bash -s cgi <abs_path_to_python_scripts_dir>/uwsgi/python_scripts/uwsgi.ini => ไฟล์การกำหนดค่า UWSGI/systemd/uwsgi.service => ไฟล์บริการระบบสำหรับอินสแตนซ์ UWSGI ที่รับผิดชอบในการดำเนินการสคริปต์ Python