Joomla nginx 配置
来源:互联网 发布:淘宝750海报 编辑:程序博客网 时间:2024/05/17 06:16
joomla在nginx服务器上,设置 短连 时,需要修改nginx配置文件:nginx/conf/nginx.conf
添加以下内容:
如果网站为根目录时:
location / { try_files $uri $uri/ /index.php?q=$uri&$args; }
若果为二级目录时:
location /cn/ { try_files $uri $uri/ /cn/index.php?q=$uri&$args; }
或者用 rewrite:
location /cn/ { if (!-e $request_filename) { rewrite ^/cn/(.*)$ /cn/index.php?q=$uri&$args; } }
0 0
- Joomla nginx 配置
- 基于Nginx下的Joomla伪静态Rewrite配置(原创)
- joomla环境配置
- Joomla邮件发送配置
- Joomla 1.6 ACL 全局配置
- joomla
- joomla
- Joomla
- Joomla
- Joomla
- joomla
- joomla
- joomla
- joomla
- joomla中联系我们组件的配置
- Joomla 关于XML参数的配置!
- Joomla! vm商品运费模块配置
- Joomla!+Nginx+Memcached让网站飞的更快
- addValue:forHTTPHeaderField: http头的组成
- 测透51汇编 51单片机串口模块程序
- ps命令查看进程启动时加的参数
- 2015年ACM训练二分图(2):Machine Schedule
- Mysql重装
- Joomla nginx 配置
- 查看手机的进程
- Linux中如何转换用户
- SSH中hibernate窍门总结
- Ten C++11 Features Every C++ Developer Should Use
- Excel学习小记
- LeetCode 32 Longest Valid Parentheses(最长有效括号)(*)
- 12.Laravel5学习笔记:使用mongodb开发LBS应用
- JFlow 入门,新手流程设计教程