ci重写 配置文件
2024-08-28 09:57:36
server
{
listen 80;
#listen [::]:80;
server_name wangyongshun.xyz www.wangyongshun.xyz;
index index.html index.htm index.php default.html default.htm default.php;
root /www/yeves; include other.conf;
#error_page 404 /404.html; # Deny access to PHP files in specific directory
#location ~ /(wp-content|uploads|wp-includes|images)/.*\.php$ { deny all; } include enable-php.conf; location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
} location /{
try_files $uri $uri/ /index.php?$uri&$args;
} location ~ .*\.(js|css)?$
{
expires 12h;
} location ~ /.well-known {
allow all;
} location ~ /\.
{
deny all;
} access_log off;
}
最新文章
- centos下安装java8
- 使用Navicat连接数据库,不能创建外键
- JIRA学习一:Windows下安装破解JIRA6.3.6
- Vue基础---->;VueJS的使用(一)
- android布局 FrameLayout(帧布局)详解
- 127 2016 int
- 前端学习——css基础知识,选择器与html模板、值得收藏的html标签
- ASP.NET-FineUI开发实践-5
- 几款Http小服务器
- Java基础12 类型转换与多态
- css3 过渡和2d变换——回顾
- 某大公司的sql面试题
- web APIS
- rtrim() 函数 从字符串的末端开始删除空白字符!
- U3D对齐功能
- vue脚手架用axios请求本地数据
- C++ STL--顺序容器(vector)
- FNDLOAD使用大全
- C# 使用Nlog记录日志到数据库
- (二)Python 装饰器
热门文章
- django中间件及中间件实现的登录验证
- 【Java】数组知识回顾
- finddler的安装与设置
- Mysql: pt-table-checksum 和 pt-table-sync 检查主从一致性,实验过程
- (转)Unity 和 Cocos2d-x 越渐流行,国内公司开发「自研游戏引擎」的意义何在?
- 深入理解yii2之RBAC(模块化系统)
- python爬虫:利用正则表达式爬取豆瓣读书首页的book
- PAT (Basic Level) Practice 1004 成绩排名
- 007---Django的视图层
- HyperLedger Fabric 1.4 区块链技术形成(1.2)