2
0
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:
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 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):