Add www redirect to caddy reverse

This commit is contained in:
Wilfried OLLIVIER 2020-05-21 12:04:20 +02:00
parent 790f42bbb8
commit 7db1b7fcbc

View file

@ -27,3 +27,9 @@
} }
} }
{% if www_redirect %}
www.{{ vhost_url }} {
redir https://{{ vhost_url }}
}
{% endif %}