FreedomBen / dory

Your development proxy for docker
MIT License
156 stars 24 forks source link

Let's Encypt certificates break router? #47

Closed FossPrime closed 3 years ago

FossPrime commented 3 years ago

I've been trying to configure some Let's Encrypt certbot generated certificates into a Dory "cluster". But simply adding anything to "ssl_certs_dir" break the whole canvas deployment.

Debugging efforts haven't yielded much of use. The proxy container runs, everything looks fine. The virtual hosts in the nginx.conf of the proxy container don't match with the certificate, but I set thouse on dory.yml, nothing changed.

FossPrime commented 3 years ago

Figured it out... The container virtual host definitions which I found in nginx.conf are what matter, not what the client hint suggests. You get no useful errors if you have the wrong certificate names or a bad symlink.

I put my simblynks in /etc/letsencrypt so they are accessible one that folder is mounted as a volume