0908
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user