mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
fix nginx config list to remove
This commit is contained in:
parent
80bf4feeed
commit
7363c9d2b9
@ -18,7 +18,7 @@ def get_supervisor_confdir():
|
|||||||
return possiblity
|
return possiblity
|
||||||
|
|
||||||
def remove_default_nginx_configs():
|
def remove_default_nginx_configs():
|
||||||
default_nginx_configs = ['/etc/nginx/conf.d/default.conf', '/etc/nginx/sites-available/default.conf']
|
default_nginx_configs = ['/etc/nginx/conf.d/default.conf', '/etc/nginx/sites-enabled/default']
|
||||||
|
|
||||||
for conf_file in default_nginx_configs:
|
for conf_file in default_nginx_configs:
|
||||||
if os.path.exists(conf_file):
|
if os.path.exists(conf_file):
|
||||||
|
Loading…
Reference in New Issue
Block a user