Let's encrypt 遇到 'ascii' codec can't decode byte 0xe5 的解法

Attempting to renew cert (example.com) from /etc/letsencrypt/renewal/example.com.conf produced an unexpected error: ‘ascii’ codec can’t decode byte 0xe6 in position 2: ordinal not in range(128). Skipping.

主要是nginx的配置文件有中文注释,把conf的中文注释去掉就可以
如果有用include 来带拓展文件的,在主的ngonx.conf文件中也需要去掉中文注释

你可能感兴趣的:(letencrypt)