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
1 changed files with 6 additions and 0 deletions

View File

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