mediawikide
2024-09-02 21:44:17
wiki.conf
server
{
listen 80;
server_name wiki.talkvip.cn;
index index.html index.htm index.php;
root /www/wiki/mediawiki-1.28.0; location ~ /.svn/ {
deny all;
} #rewrite ^/$ /?user=talkvip last; location / {
rewrite ^/$ /index.php last;
rewrite ^/(?!index\.php|index\.html|extensions|images|public|robots\.txt)(.*)$ /index.php/$1 last;
} location ~ \.php {
fastcgi_pass 127.0.0.1:9002;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
} location ~/uploads/.*\.(php|php5)?$ {
deny all;
}
location ~/public/.*\.(php|php5)?$ {
deny all;
} location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
} location ~ .*\.(js|css)?$
{
expires 8d;
} access_log /www/logs/wiki.talkvip.cn.nginx.access.log main; }
最新文章
- hadoop入门(3)——hadoop2.0理论基础:安装部署方法
- vim 大全用法
- APS.net controller
- SharePoint 2013 Nintex Workflow 工作流帮助(十)
- js 平滑定位
- 关于.ToList(): LINQ to Entities does not recognize the method ‘xxx’ method, and this method cannot be translated into a store expression.
- spf13配置问题
- perl 5.22手动安装Mysql DBI和DBD
- Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/AYXXXXXXXXXXX.pid). 错误解决方法
- 如何更改mysql可执行路径及更改mysql数据库文件路径
- Linux系统监控命令
- 基于Modbus的C#串口调试开发
- oracle12c各个版本对其需要的依赖包及系统参数的修改
- vue通过id从列表页跳转到对应的详情页
- powerdesigner生成mysql带注释的ER图
- 四:(之九_容器资源限制)Dockerfile语法梳理和实践
- eclipse team 没有svn
- 怎么让table中的<;td>;内容向上对齐
- HDU4288-STL模拟
- bzoj3920: Yuuna的礼物(莫队+分块套分块)
热门文章
- RC 522模块在LINUX平台调试笔记
- Python学习札记(二十七) 函数式编程8 偏函数
- HDU 4714 Treecycle(树形dp)
- 这是一份很详细的 Retrofit 2.0 使用教程(含实例讲解)
- Solaris11 Vsphere client tool 的鼠标问题
- notepad++支持自定义文件类型
- tortoiseGIT保存用户名密码
- java的初始化(编程思想)
- Linux wget auto login and backup database
- BZOJ4978: [Lydsy1708月赛]泛化物品(乱搞)