优化openresty配置生成

pull/109/head
midoks 3 years ago
parent dd630f3eed
commit ad583f1cb4
  1. 2
      plugins/openresty/index.py

@ -133,8 +133,6 @@ def confReplace():
# 主配置文件
nconf = getServerDir() + '/nginx/conf/nginx.conf'
__content = mw.readFile(nconf)
if __content.find('#user'):
mw.writeFile(nconf, content)
# 静态配置

Loading…
Cancel
Save