Valian / docker-nginx-auto-ssl

Docker image for automatic generation of SSL certs using Let's encrypt and Open Resty
https://hub.docker.com/r/valian/docker-nginx-auto-ssl/
MIT License
405 stars 101 forks source link

ALLOWED_DOMAINS not implemented by default #60

Closed GithDev closed 1 year ago

GithDev commented 1 year ago

Maybe I am doing something wrong, but it seems like ALLOWED_DOMAINS is actually not implemented by default. The snippet doesn't match the config used in the image.

Here is the implementation in the image:

 auto_ssl:set("allow_domain", function(domain)
      return ngx.re.match(domain, '.*', 'ijo')
    end)
GithDev commented 1 year ago

Never mind.

It was like that because I didn't use any envs when creating the docker container, before the docker cp command.