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猜测是中文路径的问题,修改后再次访问,成功。

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

相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2021-11-06
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2021-07-27
  • 2021-11-09
  • 2021-07-16
相关资源
相似解决方案