aboutsummaryrefslogtreecommitdiff
path: root/roles/webserver/files/inc
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 23:31:06 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 23:31:06 +0100
commit421d8d1aa0ba348eac175b49213dd19a8fd1d668 (patch)
treed7ae11cf3beeb003da826a22cf8263fc014c3f56 /roles/webserver/files/inc
parent84c1a942eb3e7013de57665d4a56335481a10a80 (diff)
downloadansible-memzero-421d8d1aa0ba348eac175b49213dd19a8fd1d668.tar.gz
ansible-memzero-421d8d1aa0ba348eac175b49213dd19a8fd1d668.zip
nginx: factor out ssl config into include
Diffstat (limited to 'roles/webserver/files/inc')
-rw-r--r--roles/webserver/files/inc/ssl.conf7
1 files changed, 7 insertions, 0 deletions
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;