You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
698 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

[uwsgi]
#项目目录
chdir=/www/python/yunwei/yunwei
#指定项目application
wsgi-file=/www/python/yunwei/yunwei/main.py
#python 程序内用以启动的application 变量名
callable=app
# 进程个数
processes=4
# 线程个数
threads=2
#指定启动时的pid文件路径用于停止服务和重启服务请勿删除
pidfile=/www/python/yunwei/yunwei/uwsgi.pid
# 指定ip及端口
# 默认http模式可切换至socket模式
http=0.0.0.0:5000
#socket=0.0.0.0:5000
#启动uwsgi的用户名和用户组
uid=www
gid=www
#启用主进程
master=true
# 设置缓冲区大小
buffer-size = 32768
# 后台运行,并输出日志
daemonize = /www/wwwlogs/python/yunwei/uwsgi.log