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

Failing with curl returned with 3 #65

Open manphambss opened 2 months ago

manphambss commented 2 months ago

Hi guys! Has anyone faced this error yet? I ran this command:

docker run -d \ --name nginx-auto-ssl \ --restart on-failure \ -p 80:80 \ -p 443:443 \ -e ALLOWED_DOMAINS=uni8.tech \ -e LETSENCRYPT_URL='https://acme-staging-v02.api.letsencrypt.org/directory' \
-e SITES='uni8.tech=localhost:3000' \ valian/docker-nginx-auto-ssl

...And I got the logs:

Processing www.uni8.tech

Valian commented 2 months ago

Hi @manphambss. Hard to say, only non-standard thing in your config is LETSENCRYPT_URL pointing to staging. Have you tried to just skip it?

Also this repository is just a convenience "wrapper" around https://github.com/auto-ssl/lua-resty-auto-ssl. Maybe you could try asking there?