1.编辑conf下面的nginx.conf
2.在server段里加以下两行
default_type 'text/html';
charset utf-8;
3.然后重启就行了
sudo nginx -s reload
windows和Linux中操作一样的
配置Nginx文本与编码
1.编辑conf下面的nginx.conf
2.在server段里加以下两行
default_type 'text/html';
charset utf-8;
3.然后重启就行了
sudo nginx -s reload
windows和Linux中操作一样的
5103

被折叠的 条评论
为什么被折叠?