mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +03:00
Use Unix, not Windows environment variable format in Caddyfile (#1314)
Closes #1310.
This commit is contained in:
parent
2fc3bfd442
commit
ae9f951f45
|
@ -1,8 +1,8 @@
|
||||||
www.{% raw %}{%DOMAIN_NAME%}{% endraw %} {
|
www.{% raw %}{$DOMAIN_NAME}{% endraw %} {
|
||||||
redir https://{{cookiecutter.domain_name}}
|
redir https://{{cookiecutter.domain_name}}
|
||||||
}
|
}
|
||||||
|
|
||||||
{% raw %}{%DOMAIN_NAME%}{% endraw %} {
|
{% raw %}{$DOMAIN_NAME}{% endraw %} {
|
||||||
proxy / django:5000 {
|
proxy / django:5000 {
|
||||||
header_upstream Host {host}
|
header_upstream Host {host}
|
||||||
header_upstream X-Real-IP {remote}
|
header_upstream X-Real-IP {remote}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user