nginx 配置 php 的 CI 框架的web
来源:互联网 发布:华为数据库开发工程师 编辑:程序博客网 时间:2024/06/06 01:24
### Game_Admin
server {
listen 6101;
server_name localhost;
#location / {
root /home/gameAdmin;
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$uri&$args;
#}
location ~ .*\.(php|php5)?$
{
root /home/gameAdmin/;
fastcgi_pass 127.0.0.1:15001;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi_params;
include fastcgi.conf;
}
location ~.*\.(gif|jpeg|jpg|png|bmp|swf)$ {
expires 24h;
}
location ~.*\.(js|css)?$ {
expires 1h;
}
}
server {
listen 6101;
server_name localhost;
#location / {
root /home/gameAdmin;
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$uri&$args;
#}
location ~ .*\.(php|php5)?$
{
root /home/gameAdmin/;
fastcgi_pass 127.0.0.1:15001;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi_params;
include fastcgi.conf;
}
location ~.*\.(gif|jpeg|jpg|png|bmp|swf)$ {
expires 24h;
}
location ~.*\.(js|css)?$ {
expires 1h;
}
}
0 0
- nginx 配置 php 的 CI 框架的web
- Nginx支持PHP的CI框架
- PHP CI框架的url路由配置
- nginx配置ci框架
- PHP CI框架配置
- PHP CI框架的安装配置和简单使用
- Linux Nginx 配置 PHP CI 框架 vhost 文件
- php ci框架之配置
- CI框架(十一)routes.php的使用
- php CI框架的session问题
- PHP(3)--CI框架的使用
- CI框架去除index.php(Nginx)
- CI框架email类发信的配置
- Ubunt nginx下配置CI框架
- CI 即CodeIgniter框架在Nginx下的重写规则
- nginx---别名(alias)在ci框架的应用
- 【ci框架】谈CI框架的安全性
- 【ci框架】PHP的CI框架集成Smarty的最佳方式
- 日期属于一年中的第几周
- Apache HTTP+Tomcat负载均衡集群
- cxf demo
- MongoDB 语法和mysql语法对比学习
- java中key值可以重复的map:IdentityHashMap
- nginx 配置 php 的 CI 框架的web
- centos crontab不执行疑点
- 【五校联考3day2】C
- Android的minSdkVersion,targetSdkVersion,maxSdkVersion
- 创建微服务?请先回答这10个问题
- Windows下cocos2d-x开发环境的搭建,包含Android开发环境
- 数据库性能优化之SQL语句优化
- 欢迎使用CSDN-markdown编辑器
- spring 中配置bean的注入是<property>的name与与ref的id名需要一样吗??