pull/632/head
Mr Chen 5 months ago
parent ce6f7153b3
commit b432b1c165
  1. 2
      plugins/openresty/index.py
  2. 4
      plugins/openresty/install.sh

@ -196,7 +196,7 @@ def confReplace():
# vhost
vhost_dir = mw.getServerDir() + '/web_conf/nginx/vhost'
vhost_tpl_dir = getPluginDir() + '/conf/vhost'
if os.path.exists(vhost_dir):
if not os.path.exists(vhost_dir):
mw.execShell('mkdir -p ' + vhost_dir)
vhost_list = ['0.websocket.conf', '0.nginx_status.conf']

@ -2,8 +2,8 @@
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:/opt/homebrew/bin
export PATH
# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh install 1.21.4.2
# cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.21.4.2
# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh install 1.21.4
# cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.21.4
curPath=`pwd`
rootPath=$(dirname "$curPath")

Loading…
Cancel
Save