为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:系统:CentOS 7.6.1810 x86_64(Py3.7.9)
问题描述:申请 Let's Encrypt 时出现报错
Traceback (most recent call last): File "/www/server/panel/class/acme_v2.py", line 1396, in apply_cert self.get_auths(index) File "/www/server/panel/class/acme_v2.py", line 430, in get_auths self.set_auth_info(identifier_auth, index=index) File "/www/server/panel/class/acme_v2.py", line 456, in set_auth_info identifier_auth['auth_to'], identifier_auth['token'], identifier_auth['acme_keyauthorization'], index) File "/www/server/panel/class/acme_v2.py", line 487, in write_auth_file return self.write_ngin_authx_file(auth_to, token, acme_keyauthorization, index) File "/www/server/panel/class/acme_v2.py", line 549, in write_ngin_authx_file raise Exception("配置文件中用于文件验证的部分必须位于root指令下,以保证优先级,请勿调整") Exception: 配置文件中用于文件验证的部分必须位于root指令下,以保证优先级,请勿调整 |
|