Nginx配置里的fastcgi_index和index
2024-08-21 08:47:42
在配置nginx时有时会遇到, 所以记录一下
location ^~ /wechat/ {
index index.php;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php; include fastcgi_params;
}
fastcig_index : 如果请求的Fastcgi_index URI是以 / 结束的, 该指令设置的文件会被附加到URI的后面并保存在变量$fastcig_script_name中
index : 该指令用于设置nginx的默认首页文件
最新文章
- Web性能优化:What? Why? How?
- svn 修改文件的二进制或文本标记
- 霸气的jQ插件
- cf666 C. Codeword 组合数学 离线分块思想
- myisam 与innodb的区别
- iOS开发——数据持久化Swift篇&;(一)NSUserDefault
- html 5 drag and drop upload file
- Linq 查询 与方法调用
- Nginx系列~概念与windows下环境搭建
- ios内存详解
- mysql保存emoji表情(微信开发用户昵称..)
- iOS一个开发系列中 - UIButton 使用摘要
- 201521123049 《JAVA程序设计》 第13周学习总结
- Fibonacci again and again(SG函数应用)
- NoClassDefFoundError: org/apache/commons/lang3/StringUtils
- 2018-2019 20165237网络对抗 Exp4 恶意代码分析
- 2019年一次java知识点总结
- Spring Boot OAuth 2.0 客户端
- openstack常用命令-neutron篇
- ubuntu安装网易云音乐