fix: point auto-ssl at the redis container
This commit is contained in:
parent
6d90b50690
commit
3f0d12c266
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ resolver 127.0.0.11 valid=60 ipv6=off;
|
|||
init_by_lua_block {
|
||||
auto_ssl = (require "resty.auto-ssl").new()
|
||||
auto_ssl:set("storage_adapter", "resty.auto-ssl.storage_adapters.redis")
|
||||
auto_ssl:set("redis", {
|
||||
host = "redis"
|
||||
})
|
||||
auto_ssl:set("allow_domain", function(domain)
|
||||
return domain == os.getenv("JASIMA_PROXY_HOST")
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue