Configure webroot letsencrypt even without certificate

This commit is contained in:
Ricardo Paes
2022-02-14 09:03:52 -03:00
parent 400662e0b8
commit 45de50b438
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -1,4 +1,2 @@
listen 443 ssl http2;
listen [::]:443 ssl http2;
include include.d/letsencrypt.conf;
listen [::]:443 ssl http2;