DanielDent / docker-nginx-ssl-proxy

SSL Front-End Proxy With Automatic Free Certificate Management
https://hub.docker.com/r/danieldent/nginx-ssl-proxy/
Other
204 stars 68 forks source link

CERTIFICATE-FILE-NOT-LOADED #11

Closed Meidan closed 6 years ago

Meidan commented 6 years ago

I'm getting CERTIFICATE-FILE-NOT-LOADED in the certificate's Common Name instead of the environment variable I set in SERVERNAME. Am I missing a configuration?

In the logs I do see the correct SERVERNAME:

2018/07/23 14:22:38 [ DEBUG ] Parsing environment references in '/etc/nginx/conf.d/default.conf'
2018/07/23 14:22:38 [ DEBUG ] Expanding reference to 'UPSTREAM' to value '<my-upstream>'
2018/07/23 14:22:38 [ DEBUG ] Expanding reference to 'SERVERNAME' to value '<my-servername>'
2018/07/23 14:22:38 [ DEBUG ] Expanding reference to 'SERVERNAME' to value '<my-servername>'
Meidan commented 6 years ago

this was because my domain was under amazonaws.com which is blacklisted by let's encrypt