CodeIgniter3.0+Nginx的伪静态配置
来源:互联网 发布:actionscript 3 源码 编辑:程序博客网 时间:2024/06/05 01:56
server{listen 80;server_name www.ju.com ju.com *.ju.com;index index.php;root /data/wwwroot/ju_2_1;#error_page 404 /404.html;location / { index index.php;if (!-e $request_filename) {rewrite ^/(.*)$ /index.php last;}if ($host = 'ju.com') { rewrite ^/(.*) http://www.ju.com/$1 permanent; } }location ~ [^/]\.php(/|$){# comment try_files $uri =404; to enable pathinfotry_files $uri =404;fastcgi_pass unix:/tmp/php-cgi.sock;fastcgi_index index.php;include fastcgi.conf;#include pathinfo.conf;}location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)${expires 30d;}location ~ .*\.(js|css)?${expires 12h;}access_log /home/wwwlogs/ju.log access;}
0 0
- CodeIgniter3.0+Nginx的伪静态配置
- nginx 配置伪静态
- Nginx伪静态配置
- PHP nginx 去掉伪静态的配置
- ThinkPHP3.2.3+Nginx的伪静态配置
- nginx伪静态配置实例
- 关于Discuz的nginx服务器的伪静态配置
- nginx下discuz! x3 伪静态化的配置
- nginx上支持.htaccess伪静态的配置实例
- nginx上万能的wordpress伪静态配置方案
- Nginx 多个版本都适用的伪静态配置
- nginx配置网站的二级目录项目伪静态
- 一些常见程序的Nginx伪静态配置规则
- window下phpstudy的nginx配置虚拟主机和伪静态
- 解决nginx配置伪静态 去除框架的Index.php
- Nginx安装配置及伪静态配置
- 在Nginx中配置伪静态
- Thinkphp 伪静态Nginx配置方式
- HLOI2016滚粗记
- 多线程编程之线程的封装
- Tortoise SVN 加载路径中包含中文字符
- 一点小问题
- UI控件笔记(十六):UI之Uibutton,UIview,UIlbel等初始化的封装
- CodeIgniter3.0+Nginx的伪静态配置
- 关于<< 和>>操作
- java学习笔记5.17
- 40亿数据Map插入
- uva 1388
- hive中的lateral view 用法详解上篇
- linux chmod命令
- The real prerequisite for machine learning isn’t math, it’s data analysis
- 跳到指定控制器