2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-22 20:19:01 +00:00

fix nginx config list to remove

This commit is contained in:
Pratik Vyas 2014-11-05 11:44:03 +05:30
parent 80bf4feeed
commit 7363c9d2b9

View File

@ -18,7 +18,7 @@ def get_supervisor_confdir():
return possiblity
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:
if os.path.exists(conf_file):