2
0
mirror of https://dev.sum7.eu/sum7/ansible-role-webserver synced 2025-01-24 04:10:30 +01:00
ansible-role-webserver/templates/10-tls.nginx
2020-07-21 02:37:37 +02:00

14 lines
336 B
Nginx Configuration File

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;
include /etc/nginx/local.d/*.act;
include snippets/letsencrypt.conf;
}