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