server {
listen 81;
server_name http://lanxing.cc gohosts.com;
root "D:\WWW\lanxing\public";
location / {
index index.html index.htm index.php;
#autoindex on;
# 专门针对tp的rewrite模式
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
location ~ \.php(.*)$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
}

  

  

最新文章

  1. 用ajax实现评论刷新
  2. uva10001 Garden of Eden
  3. ecshop 常见问题汇总
  4. sqlserver获取表名,字段名
  5. 设置lable文本内容的行间距
  6. SSH整合常见错误
  7. JDK源码阅读(三) Collection<T>接口,Iterable<T>接口
  8. windows下和linux下 Redis 安装
  9. OpenLayers学习笔记5——使用jQuery UI实现查询并标注(UI篇)
  10. python中MySQLdb的使用
  11. sql优化------查询整个表按照某个字段排序后的前几条
  12. hibernate @OneToMany等注解设置查询过滤条件
  13. Failed to resolve: common Open File 导入项目问题
  14. 背水一战 Windows 10 (78) - 自定义控件: 基础知识, 依赖属性, 附加属性
  15. L3-016 二叉搜索树的结构 (30 分) 二叉树
  16. 7.翻译系列:EF 6中的继承策略(EF 6 Code-First 系列)
  17. solr 使用edismax来控制评分
  18. 初次接触Dynamics 365
  19. [Web 前端] CSS篇之 4. position 和 display 的取值和各自的意思和用法
  20. [转]使用互斥对象让程序只运行一次(delphi)

热门文章

  1. BZOJ 4819 [Sdoi2017]新生舞会 ——费用流 01分数规划
  2. 关闭chrome浏览器的input香蕉黄背景
  3. Python Base Two
  4. PHP的图片处理类(缩放、加图片水印和剪裁)
  5. scss 侧边栏_图片
  6. FNV哈希算法【转】
  7. PhPStorm 快捷键使用(转载)
  8. AC日记——爱改名的小融 codevs 2967
  9. Latex algorithm
  10. Powershell简介及其编程访问