From 847b9d569be1ce4489ae14f730cc7b941d9c3392 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 7 Jan 2023 15:49:37 +0800 Subject: [PATCH] Update index.py --- plugins/openresty/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'