This commit is contained in:
2022-05-26 21:51:41 -04:00
parent 209ff57a4a
commit d627da54ed
17 changed files with 185 additions and 111 deletions

View File

@@ -1,3 +1,11 @@
{% if item.https is not defined or item.https %}
server {
listen 80;
server_name {{ item.domain }};
return 301 https://{{ item.domain }}$request_uri;
}
{% endif %}
server {
listen 443 ssl;
server_name {{ item.domain }};