伺服器端uwsgi配置檔案

willguo_發表於2018-07-31
[uwsgi]
socket=127.0.0.1:7000
# 專案目錄
chdir=/www/cheese/python
# 專案啟動檔案目錄
wsgi-file=/www/cheese/python/manager.py
callable = app
processes=4
threads=2
master=True
pidfile=uwsgi.pid
;daemonize=uwsgi.log
status=/www/cheese/uwsgi.status
# 專案虛擬環境
home=env
virtualenv=/www/cheese/env
;plugins=python

相關文章