This commit is contained in:
张威33321
2026-09-09 15:04:54 +08:00
parent fb87be680d
commit a9ec40a289
22 changed files with 303 additions and 352 deletions

View File

@@ -17,8 +17,8 @@ server {
}
# ACME HTTP-01 验证
# certbot 通过 webroot 写入 /var/www/certbot/.well-known/acme-challenge/<token>
# 该目录是 certbot-webroot 卷nginx 以只读方式挂载
# acme.sh 通过 webroot 写入 /var/www/certbot/.well-known/acme-challenge/<token>
# 这是宿主机目录nginx 容器以只读方式 bind mount
location /.well-known/acme-challenge/ {
root /var/www/certbot;
default_type text/plain;