From 421d8d1aa0ba348eac175b49213dd19a8fd1d668 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 13 Feb 2024 23:31:06 +0100 Subject: nginx: factor out ssl config into include --- roles/webserver/files/inc/ssl.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/webserver/files/inc/ssl.conf (limited to 'roles/webserver/files/inc/ssl.conf') diff --git a/roles/webserver/files/inc/ssl.conf b/roles/webserver/files/inc/ssl.conf new file mode 100644 index 0000000..8edfcb2 --- /dev/null +++ b/roles/webserver/files/inc/ssl.conf @@ -0,0 +1,7 @@ +# Load the certificate files. +ssl_certificate /etc/letsencrypt/live/memzero/fullchain.pem; +ssl_certificate_key /etc/letsencrypt/live/memzero/privkey.pem; +ssl_trusted_certificate /etc/letsencrypt/live/memzero/chain.pem; + +# Load the Diffie-Hellman parameter. +ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem; -- cgit v1.2.3