mirror of
https://dev.sum7.eu/sum7/ansible-role-webserver
synced 2025-01-24 04:10:30 +01:00
14 lines
336 B
Nginx Configuration File
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;
|
|
}
|