diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 43fe37f..12a87cd 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -28,6 +28,9 @@ http { listen 443 ssl; server_name $DOMAIN; + ssl_certificate /etc/letsencrypt/live/$DOMAIN/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem; + return 301 https://www.$DOMAIN$request_uri; }