kohana nginx的配置
来源:互联网 发布:飞升元武核心突破数据 编辑:程序博客网 时间:2024/05/17 08:30
kohana nginx的配置
location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?kohana_uri=/$1 last; } index index.php index.html index.htm; }
普通配置:
server { listen 80; #listen [::]:80 default ipv6only=on; server_name honghuyule.com www.honghuyule.com; index index.html index.htm index.php; root /data/htdcos/webroot; #error_page 404 /404.html; location ~ [^/]\.php(/|$) { # comment try_files $uri =404; to enable pathinfo try_files $uri =404; fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fastcgi.conf; #include pathinfo.conf; } location /nginx_status { stub_status on; access_log off; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } access_log /data/wwwlogs/access.log access; }
5 0
- kohana nginx的配置
- Kohana的数据库配置
- Kohana配置干净的URL
- kohana nginx config
- php7.1+nginx + kohana
- kohana基本安装配置
- Kohana安装配置路由
- Kohana的Cache
- Kohana框架的特性
- kohana
- kohana环境配置与URL重写
- Kohana的Events和Hooks研究
- Kohana的Events和Hooks研究
- Kohana中ORM对象关系的用法
- 开源PHP框架Kohana的介绍
- kohana 伪静态的htaccess设置
- 构建kohana复杂的sql语句
- Nginx的基本配置
- 类关系设计模式小结
- Protocol 和 Delegate
- zookeeper3.4.6与activemq5.9.0整合
- 用liveCD/USB安装完Ubuntu12.04系统,重启后出现 error:out of disk grub rescue 解决方法
- MessageDigest简介
- kohana nginx的配置
- 黑马程序员_java集合框架简单总结
- jQuery之addClasas与removeClass使用实例
- iOS "The sandbox is not in sync with the Podfile.lock"解决方案
- Jquery Moblie 从入门到精通 1
- 一个完整的安装程序实例—艾泽拉斯之海洋女神出品(五) --补遗 (已补充第三部分完整版)
- ubuntu12.04连接服务器的时候出现错误“terminate called after throwing an instance of 'std::runtime_error' what(”
- CentOS Linux 升级内核步骤和方法
- 嵌套viewpager触摸的事件分发事件处理