From ae9f951f451356c825617cf8402df29af37c9f84 Mon Sep 17 00:00:00 2001 From: Shupeyko Nikita Date: Sat, 2 Sep 2017 20:42:07 +0300 Subject: [PATCH] Use Unix, not Windows environment variable format in Caddyfile (#1314) Closes #1310. --- {{cookiecutter.project_slug}}/compose/caddy/Caddyfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/compose/caddy/Caddyfile b/{{cookiecutter.project_slug}}/compose/caddy/Caddyfile index 22ec73f4..d36632e4 100644 --- a/{{cookiecutter.project_slug}}/compose/caddy/Caddyfile +++ b/{{cookiecutter.project_slug}}/compose/caddy/Caddyfile @@ -1,8 +1,8 @@ -www.{% raw %}{%DOMAIN_NAME%}{% endraw %} { +www.{% raw %}{$DOMAIN_NAME}{% endraw %} { redir https://{{cookiecutter.domain_name}} } -{% raw %}{%DOMAIN_NAME%}{% endraw %} { +{% raw %}{$DOMAIN_NAME}{% endraw %} { proxy / django:5000 { header_upstream Host {host} header_upstream X-Real-IP {remote}