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.
flyapps/fir_ser/uwsgi.conf

28 lines
643 B

# 对外提供 http 服务的端口
http = 127.0.0.1:8899
#the local unix socket file than commnuincate to Nginx 用于和 nginx 进行数据交互的端口
socket = 127.0.0.1:8898
# the base directory (full path) django 程序的主目录
chdir = /www/fir_ser
# Django's wsgi file
wsgi-file = fir_ser/wsgi.py
# maximum number of worker processes
processes = 8
#thread numbers startched in each worker process
threads = 2
#monitor uwsgi status 通过该端口可以监控 uwsgi 的负载情况
stats = 127.0.0.1:9191
# clear environment on exit
vacuum = true
# 后台运行,并输出日志
daemonize = /var/log/uwsgi.log