test_domain -> domain

This commit is contained in:
Sebastian Kosch 2014-08-25 16:02:13 -04:00
parent 76ff9735cc
commit 00b5c6ee9c
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ def make_domain_config(domain, template, template_for_primaryhost, env):
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(test_domain) + ".conf")
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)