Add www redirect to caddy reverse
This commit is contained in:
parent
790f42bbb8
commit
7db1b7fcbc
1 changed files with 6 additions and 0 deletions
|
@ -27,3 +27,9 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
{% if www_redirect %}
|
||||
www.{{ vhost_url }} {
|
||||
redir https://{{ vhost_url }}
|
||||
}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue