nginx乱码问题
刚搭好的nginx服务器,但是返回的页面会莫名奇妙的被加上一些乱码字符我的测试页面就是一个空白页,有1000行aaaaaaaaa
结果返回的是这样的:
nginx: nginx version: nginx/1.0.4
nginx: built by gcc 4.3.2 (SUSE Linux)
nginx: TLS SNI support disabled
nginx: configure arguments: --with-http_ssl_module --with-pcre=/root/develop/thirdparty/pcre-8.21 --user=www --group=www --prefix=/usr/local/nginx --with-http_flv_module --with-http_stub_status_module
你的浏览器字符编码没问题吧?
另外尝试下nginx的配置文件将 charset 注释掉.
页:
[1]