From 81ec2347ca98a44f67e2a362eae213094a7c31ba Mon Sep 17 00:00:00 2001 From: Victor Rocheleau Date: Thu, 24 Oct 2024 16:47:15 -0400 Subject: [PATCH 1/2] change lua no-tls template --- conf/nginx.conf.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf.tpl b/conf/nginx.conf.tpl index 050eb2e..1810f16 100644 --- a/conf/nginx.conf.tpl +++ b/conf/nginx.conf.tpl @@ -82,12 +82,13 @@ http { '' close; } - # tpl__tls_yes__start # Configure Lua HTTPS verification lua_ssl_verify_depth 2; lua_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt; + # tpl__tls_yes__start + # Redirect all http to https server { listen 80 default_server; From b63d23e47a1cd065585161ade61324f1b78fcb7c Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Thu, 24 Oct 2024 21:56:34 -0400 Subject: [PATCH 2/2] lint --- conf/nginx.conf.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/nginx.conf.tpl b/conf/nginx.conf.tpl index 1810f16..f0496cc 100644 --- a/conf/nginx.conf.tpl +++ b/conf/nginx.conf.tpl @@ -82,7 +82,6 @@ http { '' close; } - # Configure Lua HTTPS verification lua_ssl_verify_depth 2; lua_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;