update minimal template

This commit is contained in:
bain 2023-11-05 16:10:28 +01:00
parent 3ad532f6fa
commit 01724ea897
Signed by: bain
GPG key ID: 31F0F25E3BED0B9B

View file

@ -1 +1,22 @@
# ID: {{ id }}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name <domain>; # AUTOSSL > {{ id }}
include ssl/{{ id }}.conf;
return 200;
}
server {
listen 80;
listen [::]:80;
server_name <domain>;
include include/acme-challenge.conf; # potřeba pro ACME
return 301 https://$host$request_uri;
}