From fb7d5db242a4825a428befbc73ad6d7e8b45c001 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 31 Oct 2016 10:51:43 +0100 Subject: [PATCH] Update nginx.conf.tmpl --- rootfs/etc/confd/templates/nginx.conf.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/etc/confd/templates/nginx.conf.tmpl b/rootfs/etc/confd/templates/nginx.conf.tmpl index e7fb1e3..d87ce9c 100644 --- a/rootfs/etc/confd/templates/nginx.conf.tmpl +++ b/rootfs/etc/confd/templates/nginx.conf.tmpl @@ -24,8 +24,8 @@ http { listen {{"{{"}}GIN_PORT{{"}}"}} ssl; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; - ssl_certificate /etc/ssl/nginx/fullchain.pem; - ssl_certificate_key /etc/ssl/nginx/privkey.pem; + ssl_certificate /etc/ssl/nginx/{{getenv "CERT_NAME" "fullchain.pem"}}; + ssl_certificate_key /etc/ssl/nginx/{{getenv "KEY_NAME" "privkey.pem"}}; ssl_ciphers HIGH:!aNULL:!MD5; keepalive_timeout 70; @@ -40,4 +40,4 @@ http { # Gin runtime {{"{{"}}GIN_RUNTIME{{"}}"}} } -} \ No newline at end of file +}