diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3e10a26..f50b080 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,7 @@ - - - - + diff --git a/uwsgi.ini b/uwsgi.ini index 47c6bef..34e4f89 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -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 \ No newline at end of file +daemonize=/data/www/logs/order.log +static-map = /static=/data/www/Order/web/static \ No newline at end of file diff --git a/uwsgitwo.ini b/uwsgitwo.ini new file mode 100644 index 0000000..47c6bef --- /dev/null +++ b/uwsgitwo.ini @@ -0,0 +1,17 @@ +[uwsgi] +#源码目录 +chdir=/order +#python 虚拟环境 +home=/imooc_env +module=manager +callable=app +master=true +processes=4 +http=0.0.0.0:8889 +socket=/logs/order.sock +buffer-size=65535 +pidfile=/logs/order.pid +chmod-socket=777 +logfile-chmod=644 +daemonize=/logs/order.log +static-map = /static=/order/web/static \ No newline at end of file