标签:cat 解决 pre 重启nginx examples domain name ack class
需要修改nginx的server的配置内容,增加一行:charset utf-8;
详情如下:
upstream you.domainName.com {
server 127.0.0.1:8080;
}
server {
listen 80;
server_name you.domainName.com;
charset utf-8;
location /examples {
return 403;
}
修改后,重启Nginx服务。
Windows版nginx重启命令:nginx.exe -s reload
标签:cat 解决 pre 重启nginx examples domain name ack class
原文地址:https://www.cnblogs.com/116970u/p/11470138.html