failed (1113: No mapping for the Unicode character exists in the target multi-byte code page), client: 127.0.0.1...

nginx部署网站后,访问域名,网页显示  500 Internal Server Error ,经查看发现nginx的error.log中有报错:

failed (1113: No mapping for the Unicode character exists in the target multi-byte code page), client: 127.0.0.1...

但是其他部署的网站又没有问题,根据字眼Unicode character猜测是中文路径的问题,修改后再次访问,成功。

因此,部署网站的时候,物理路径最好不要出现中文字符。

原文地址:https://www.cnblogs.com/Steven-shi/p/6510041.html