python学习

This commit is contained in:
2019-08-21 18:15:55 +08:00
parent 985496177c
commit f4ab355770
3 changed files with 32 additions and 18 deletions

View File

@@ -1,17 +1,17 @@
[uwsgi]
#源码目录
chdir=/order
chdir=/data/www/Order
#python 虚拟环境
home=/imooc_env
home=/data/www/python3_vir
module=manager
callable=app
master=true
processes=4
http=0.0.0.0:8889
socket=/logs/order.sock
socket=/data/www/logs/order.sock
buffer-size=65535
pidfile=/logs/order.pid
pidfile=/data/www/logs/order.pid
chmod-socket=777
logfile-chmod=644
daemonize=/logs/order.log
static-map = /static=/order/web/static
daemonize=/data/www/logs/order.log
static-map = /static=/data/www/Order/web/static