From d840ef2551d88136bd631d72960eb5758fb088d9 Mon Sep 17 00:00:00 2001 From: Aish Raj Dahal Date: Mon, 14 Oct 2019 20:30:37 -0700 Subject: [PATCH] Update akshara.template --- nginx/akshara.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx/akshara.template b/nginx/akshara.template index d005fc22..ee032ee2 100644 --- a/nginx/akshara.template +++ b/nginx/akshara.template @@ -14,8 +14,13 @@ upstream elasticsearch_upstream { server { listen ${NGINX_PORT} default_server; listen [::]:${NGINX_PORT} default_server; + listen 443 ssl; server_name ${NGINX_SERVER_NAME}; + ssl_certificate /etc/letsencrypt/live/sangraha.org/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/sangraha.org/privkey.pem; + + # for some diagnostics location /nginx_status {