diff --git a/plugins/openresty/index.py b/plugins/openresty/index.py index 801f8d91f..9b38e50cb 100755 --- a/plugins/openresty/index.py +++ b/plugins/openresty/index.py @@ -133,8 +133,8 @@ def confReplace(): # 主配置文件 nconf = getServerDir() + '/nginx/conf/nginx.conf' - if not os.path.exists(nconf): - mw.writeFile(nconf, content) + # if not os.path.exists(nconf): + mw.writeFile(nconf, content) # lua配置 lua_conf_dir = mw.getServerDir() + '/web_conf/nginx/lua'