From 7363c9d2b9714630ef73d08ea9900a122ee9872c Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Wed, 5 Nov 2014 11:44:03 +0530 Subject: [PATCH] fix nginx config list to remove --- bench/production_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/production_setup.py b/bench/production_setup.py index ee0a1b11..1b7aa05a 100644 --- a/bench/production_setup.py +++ b/bench/production_setup.py @@ -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):