From 45de50b43801226db0a17949b46a935d5048cbdc Mon Sep 17 00:00:00 2001 From: Ricardo Paes Date: Mon, 14 Feb 2022 09:03:52 -0300 Subject: [PATCH] Configure webroot letsencrypt even without certificate --- frontend/.docker/nginx/conf.d/default.conf | 2 ++ frontend/.docker/nginx/include.d/ssl.conf | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/.docker/nginx/conf.d/default.conf b/frontend/.docker/nginx/conf.d/default.conf index 7f8b5a7..4aab70f 100755 --- a/frontend/.docker/nginx/conf.d/default.conf +++ b/frontend/.docker/nginx/conf.d/default.conf @@ -9,10 +9,12 @@ server { server_name {{ default .Env.FRONTEND_SERVER_NAME "_" }}; include sites.d/frontend.conf; + include include.d/letsencrypt.conf; } server { listen 80; server_name {{ default .Env.BACKEND_SERVER_NAME "_" }}; include sites.d/backend.conf; + include include.d/letsencrypt.conf; } \ No newline at end of file diff --git a/frontend/.docker/nginx/include.d/ssl.conf b/frontend/.docker/nginx/include.d/ssl.conf index c8863f2..96952da 100644 --- a/frontend/.docker/nginx/include.d/ssl.conf +++ b/frontend/.docker/nginx/include.d/ssl.conf @@ -1,4 +1,2 @@ listen 443 ssl http2; -listen [::]:443 ssl http2; - -include include.d/letsencrypt.conf; \ No newline at end of file +listen [::]:443 ssl http2; \ No newline at end of file