摘要:
Q:echo 输出中文乱码 A:在入口文件中加入:header("Content-Type:text/html;charset=utf-8"); 阅读全文
摘要:
根目录有多个地方记得都要修改 server { listen 80; server_name www.xxx.com xxx.com; if ($host != 'www.xxx.com' ) { rewrite ^/(.*)$ http://www.xxx.com/$1 permanent; } 阅读全文
摘要:
http://www.9958.pw/post/nginx_config 阅读全文