certbot nginx身份验证器,默认路径

时间:2019-07-05 12:14:13

标签: nginx lets-encrypt

我有几个通过nginx和certbot提供的虚拟主机,一切正常,创建续订等

authenticator = nginx
installer = nginx

现在我已经使用一些lua代码对location /进行了身份验证检查,并且续订停止了工作。

我试图以此方式将/.well-known/acme-challenge/列入白名单

location /.well-known/acme-challenge/ {

}

没有成功:

 - The following errors were reported by the server:

   Domain: __________
   Type:   unauthorized
   Detail: Invalid response from
   https://________/.well-known/acme-challenge/8Rtd_9JkfGrwXXLBu95TjiAJ4zpLFz1b93j-qXJb8Rc
   [18.203.93.223]: "<html>\r\n<head><title>404 Not
   Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404
   Not Found</h1></center>\r\n<hr><center>"

certbot的默认nginx路径是什么?
我应该使用webroot身份验证器吗?

0 个答案:

没有答案