ansible-role-webserver/templates/10-tls.nginx

14 lines
336 B
Plaintext
Raw Normal View History

2020-07-21 02:22:32 +02:00
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
server_name {{ inventory_hostname }};
ssl_certificate /etc/dehydrated/certs/{{ inventory_hostname }}/fullchain.pem;
ssl_certificate_key /etc/dehydrated/certs/{{ inventory_hostname }}/privkey.pem;
2020-07-21 02:37:37 +02:00
include /etc/nginx/local.d/*.act;
2020-07-21 02:22:32 +02:00
include snippets/letsencrypt.conf;
}