我正在尝试使用 letsencrypt 映像生成证书并将其保存到命名卷,但遇到了问题。它只为顶级域名生成证书,而不为任何子域名生成证书。
docker-compose.yml:
version: '3.5'
services:
ssl:
container_name: ssl
image: linuxserver/letsencrypt
restart: unless-stopped
network_mode: host
environment:
- TZ=America/New_York
- PUID=0
- PGID=0
- [email protected]
- URL=example.com
- SUBDOMAINS=cloud,netdata
- VALIDATION=http
volumes:
- "ssl:/etc/letsencrypt"
volumes:
ssl:
集装箱完整日志:https://pastebin.com/DHKNvywG