From 2afd0be591723a6c0ea9575eaf7e1faeb6ba4ac0 Mon Sep 17 00:00:00 2001 From: Sebastian Kosch Date: Tue, 26 Aug 2014 12:16:20 -0400 Subject: [PATCH] Replace spaces by tabs in 106-109 --- management/web_update.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/management/web_update.py b/management/web_update.py index 274c33d9..4d56b073 100644 --- a/management/web_update.py +++ b/management/web_update.py @@ -103,10 +103,10 @@ def make_domain_config(domain, template, template_for_primaryhost, env): for path, url in yaml.get("proxies", {}).items(): nginx_conf += "\tlocation %s {\n\t\tproxy_pass %s;\n\t}\n" % (path, url) - # Add in any user customizations in the includes/ folder. - nginx_conf_custom_include = os.path.join(env["STORAGE_ROOT"], "www", safe_domain_name(domain) + ".conf") - if os.path.exists(nginx_conf_custom_include): - nginx_conf += "\tinclude %s;\n" % (nginx_conf_custom_include) + # Add in any user customizations in the includes/ folder. + nginx_conf_custom_include = os.path.join(env["STORAGE_ROOT"], "www", safe_domain_name(domain) + ".conf") + if os.path.exists(nginx_conf_custom_include): + nginx_conf += "\tinclude %s;\n" % (nginx_conf_custom_include) # Ending. nginx_conf += nginx_conf_parts[1]