alpine: assume one DNS name per host
Avoid needless complexity.
This commit is contained in:
parent
393614aa79
commit
38c3464279
5 changed files with 12 additions and 22 deletions
|
@ -1,11 +1,10 @@
|
|||
{% for fqdn in fqdns %}
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name {{ fqdn }};
|
||||
server_name {{ dns_name }};
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/{{ fqdn }}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/{{ fqdn }}/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/{{ dns_name }}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
@ -35,5 +34,3 @@ server {
|
|||
fastcgi_pass unix:/run/php-fpm.socket;
|
||||
}
|
||||
}
|
||||
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue