From cf557f8aea4f329588627184dd68459a0c24e35f Mon Sep 17 00:00:00 2001 From: William Mantly Date: Wed, 7 Aug 2024 22:48:53 -0400 Subject: [PATCH] Fixed nginx conf issue --- ops/nginx_conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ops/nginx_conf/nginx.conf b/ops/nginx_conf/nginx.conf index 573e488..72045af 100644 --- a/ops/nginx_conf/nginx.conf +++ b/ops/nginx_conf/nginx.conf @@ -25,10 +25,13 @@ http { auto_ssl = (require "resty.auto-ssl").new() auto_ssl:set("storage_adapter", "resty.auto-ssl.storage_adapters.redis") auto_ssl:set("allow_domain", function(domain) + ngx.log(ngx.ERR, "nginx.conf allow_domain", domain) return ngx.ctx.toAllow end) auto_ssl:set("request_domain", function(ssl, ssl_options) + ngx.log(ngx.ERR, "nginx.conf request_domain", domain) + local json = require "cjson" local redis = require "resty.redis" local socket = assert(require "socket.unix"())