Set up Let’s Encrypt with multiple domains / redirects 의 지침을 따르고 계신가요?
OP의 템플릿에 www.mysite.com을 넣으면 다음과 같은 결과가 생성됩니다:
after_ssl:
# tell letsencrypt what additional certs to get
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: /--keylength/
to: "-d www.mysite.com --keylength"
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: /--fullchainpath/
to: "-d www.mysite.com --fullchainpath"
global: true
즉, 잘못 수행하고 계신 것입니다.