Nginx默认utf-8

在server段里加以下两行

default_type 'text/html';
charset utf-8;

然后重启就行了
sudo nginx -s reload

原文

猜你喜欢

转载自blog.csdn.net/kajweb/article/details/88060059