uwsgi配置

2019-04-11  本文已影响0人  千沙qiansha

[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

上一篇 下一篇

猜你喜欢

热点阅读