[uwsgi]
# 这个配置随意
http = 9000
# 接受nginx转发的端口
socket = 127.0.0.1:8001
# 文件的绝对路径
chdir = /root/cloudwatch
# wsgi.py的相对路径
wsgi-file = cloudwatch/wsgi.py
# maximum number of worker processes
processes = 4
#thread numbers startched in each worker process
threads = 2
daemonize = /root/uwsgi.log
stats = /root/uwsgi.status
pidfile = /root/uwsgi.pid
py-autoreload=1
#home = /data/haochen.wang/venv3/bin/
#monitor uwsgi status
stats = 127.0.0.1:9191
# clear environment on exit
vacuum = true
# plugin = python2
# virtualenv = /data/haochen.wang/venv3
网友评论