infrastructure/coreos-config/compose/05_caddy/Caddyfile

11 lines
145 B
Caddyfile

{
auto_https off
}
{% for rule in redirect.hosts %}
http://{{ rule.from }} {
redir https://{{ rule.to }}{uri} permanent
}
{% endfor %}