From dee3cc5dc6721ef28ebf4eca3e882a809489e0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Torma?= Date: Sun, 5 Mar 2023 20:49:43 +0100 Subject: [PATCH] servername --- roles/webserver/templates/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/webserver/templates/nginx.conf b/roles/webserver/templates/nginx.conf index 351ab47..d9e1859 100644 --- a/roles/webserver/templates/nginx.conf +++ b/roles/webserver/templates/nginx.conf @@ -66,6 +66,7 @@ http { server { listen 443 ssl http2; listen [::]:443 ssl http2; + server_name {{ server.domain }}; ssl_certificate /etc/letsencrypt/live/{{ server.domain }}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{{ server.domain }}/privkey.pem; {% if server.bigrequests -%}