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.

31 lines
660 B

[uwsgi]
uid = uwsgi
gid = uwsgi
# 启动服务监听的地址和端口
http-socket = 0.0.0.0:8099
# 指定虚拟环境路径
virtualenv = /opt/service/python_prj/pictoHub.env
# 指定 Flask 应用文件的路径
wsgi-file = /opt/service/python_prj/sesetoHub/sese.py
# 设置 Flask 的应用实例
callable = app
# 设置静态文件目录映射
static-map = /static=/opt/service/python_prj/sesetoHub/static/
# 日志文件
logto = /var/log/uwsgi/uwsgi.log
# 设置进程数
processes = 4
# 启动时的 Python 环境路径
home = /opt/service/python_prj/pictoHub.env
# 确保应用正常启动
touch-reload = /opt/service/python_prj/sesetoHub/sese.py