mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
ae9f951f45
Closes #1310.
15 lines
336 B
Caddyfile
15 lines
336 B
Caddyfile
www.{% raw %}{$DOMAIN_NAME}{% endraw %} {
|
|
redir https://{{cookiecutter.domain_name}}
|
|
}
|
|
|
|
{% raw %}{$DOMAIN_NAME}{% endraw %} {
|
|
proxy / django:5000 {
|
|
header_upstream Host {host}
|
|
header_upstream X-Real-IP {remote}
|
|
header_upstream X-Forwarded-Proto {scheme}
|
|
}
|
|
log stdout
|
|
errors stdout
|
|
gzip
|
|
}
|