infrastructure/compose/05_caddy/Caddyfile

11 lines
145 B
Caddyfile
Raw Normal View History

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