Use Unix, not Windows environment variable format in Caddyfile (#1314)

Closes #1310.
This commit is contained in:
Shupeyko Nikita 2017-09-02 20:42:07 +03:00 committed by GitHub
parent 2fc3bfd442
commit ae9f951f45

View File

@ -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}