美文网首页
uwsgi配置

uwsgi配置

作者: 千沙qiansha | 来源:发表于2019-04-11 10:19 被阅读0次

[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

相关文章

网友评论

      本文标题:uwsgi配置

      本文链接:https://www.haomeiwen.com/subject/libziqtx.html