十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
启动
创新互联公司成立于2013年,是专业互联网技术服务公司,拥有项目成都网站制作、成都网站设计网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元丽江做网站,已为上家服务,为丽江各地企业和个人服务,联系电话:13518219792
/usr/local/bin/uwsgi --ini uwsgi.ini --pidfile /var/run/uwsgi.pid --log-reopen
ini配置实例
[uwsgi]
socket = 127.0.0.1:8010
module = manage:cmp_app
pythonpath = /home/work/cdn/python2.7/lib/python2.7/site-packages
chdir = /home/work/project/
wsgi-file = manage.py
master = true
processes = 4
callable = myapp
daemonize = /home/work/project/logs/uwsgi.log
disable-logging = true
pidfile = /var/run/uwsgi.pid
py-autoreload = 1
max-requests = 5000
touch-logreopen = /home/work/project/logs/touchfile
注意
参考资料:
https://www.jianshu.com/p/679dee0a4193 推荐看
https://uwsgi-docs-zh.readthedocs.io/zh_CN/latest/WSGIquickstart.html quickstart