【发布时间】:2018-03-05 09:52:09
【问题描述】:
我在 docker-compose v3 上使用 Let's Encrypt 伴侣。我有多个使用 SSL 的主机。在我的 Nginx 容器上,我公开:
- VIRTUAL_HOST=api.example.com,service.example.com
- LETSENCRYPT_HOST=api.example.com,service.example.com
- LETSENCRYPT_EMAIL=tech@example.com
这个设置工作正常,除了如果我在 service.example.com 上阅读 SSL 证书详细信息,我会得到名称 api.example.com。 这是预期的行为还是我可以以某种方式修复它?非常感谢。
【问题讨论】:
标签: docker nginx docker-compose ssl-certificate lets-encrypt