update minimal template
This commit is contained in:
parent
3ad532f6fa
commit
01724ea897
1 changed files with 21 additions and 0 deletions
|
@ -1 +1,22 @@
|
||||||
# ID: {{ id }}
|
# 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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue