Skip to content

Commit

Permalink
Move nginx certificate conf to separate file
Browse files Browse the repository at this point in the history
This to facilitate Bring Your Own Certificate issue #1363.
  • Loading branch information
bwbroersma committed Dec 1, 2024
1 parent 23fc628 commit 3ac054c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker/webserver/nginx_templates/app.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ ssl_stapling on;
ssl_stapling_verify on;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_certificate /etc/letsencrypt/live/${INTERNETNL_DOMAINNAME}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/${INTERNETNL_DOMAINNAME}/privkey.pem;

http2 on;

Expand Down
3 changes: 3 additions & 0 deletions docker/webserver/nginx_templates/letsencrypt.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ssl_certificate /etc/letsencrypt/live/${INTERNETNL_DOMAINNAME}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/${INTERNETNL_DOMAINNAME}/privkey.pem;

0 comments on commit 3ac054c

Please sign in to comment.