diff --git a/plugins/openresty/index.py b/plugins/openresty/index.py index f84e8d2b5..5958f2c47 100755 --- a/plugins/openresty/index.py +++ b/plugins/openresty/index.py @@ -86,15 +86,6 @@ def getInitDTpl(): return path -def makeConf(): - vhost = getServerDir() + '/nginx/conf/vhost' - if not os.path.exists(vhost): - os.mkdir(vhost) - php_status = getServerDir() + '/nginx/conf/php_status' - if not os.path.exists(php_status): - os.mkdir(php_status) - - def getFileOwner(filename): import pwd stat = os.lstat(filename) @@ -192,9 +183,6 @@ def initDreplace(): mw.writeFile(systemService, se_content) mw.execShell('systemctl daemon-reload') - # make nginx vhost or other - makeConf() - return file_bin