使用nginx支持utf8中文
2016-05-10 14:47
281 查看
# cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
在nginx.conf文件里配置的字符集也是utf-8
server {
listen 80;
server_name test.cn;
root /data;
index index.html index.jsp;
charset utf-8;
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
在nginx.conf文件里配置的字符集也是utf-8
server {
listen 80;
server_name test.cn;
root /data;
index index.html index.jsp;
charset utf-8;
相关文章推荐
- nginx安装详解
- Nginx 获取真实 IP 方案
- ubunt,cent OS安装配置Nginx
- 阿里云Nginx绑定多个域名的方法
- LNMP(linux+nginx+mysql+php)服务器环境配置
- ubuntu安装nginx
- 用于wordpress站点的nginx服务器配置(PHP)
- PHP7+Nginx的配置与安装教程详解
- Nginx(PHP/fastcgi)的PATH_INFO问题
- Nginx 502gateway错误故障解决
- nginx下 499错误
- PHP7+Nginx的配置与安装教程详解
- 配置Nginx+PHP的正确思路与过程
- CentOS 6.5 yum 安装nginx
- #内存管理的艺术# 之 Nginx slab的实现 --- 第一篇“基本布局”
- nginx 优化步骤
- Nginx的虚拟主机配置
- nginx下JSP开发环境搭建
- 让Nginx支持pathinfo
- Ubuntu学习总结-06 安装 Nginx