Fixed nginx conf issue

This commit is contained in:
2024-08-08 08:38:51 -04:00
parent cf557f8aea
commit ee582891fa
3 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -25,12 +25,12 @@ 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)
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)
ngx.log(ngx.ERR, "!!!!!! nginx.conf request_domain !!!!!!!", domain)
local json = require "cjson"
local redis = require "resty.redis"