BT renew the cert and meet below error

服务器配置文件存在问题,无法重载nginx配置文件,请先解决该问题,再使用文件验证申请证书,错误信息如下:
ERROR:
服务器配置文件存在问题,无法重载nginx配置文件,请先解决该问题,再使用文件验证申请证书,错误信息如下:
ERROR:
nginx: [emerg] host not found in upstream “kunwuproxy.top” in /www/server/panel/vhost/nginx/www.kanzuixian.com.conf:47
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed

Refer to : https://blog.csdn.net/QAQqazwsx/article/details/146416272
vim /etc/hosts
//修改hosts文件,在hosts文件里面加上一句:

127.0.0.1 localhost.localdomain kunwuproxy.top

Then the cert could be renew.

作者:test  创建时间:2026-03-06 19:24
最后编辑:test  更新时间:2026-03-06 19:26