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;
}

  

最新文章

  1. centos下安装java8
  2. 使用Navicat连接数据库,不能创建外键
  3. JIRA学习一:Windows下安装破解JIRA6.3.6
  4. Vue基础---->VueJS的使用(一)
  5. android布局 FrameLayout(帧布局)详解
  6. 127 2016 int
  7. 前端学习——css基础知识,选择器与html模板、值得收藏的html标签
  8. ASP.NET-FineUI开发实践-5
  9. 几款Http小服务器
  10. Java基础12 类型转换与多态
  11. css3 过渡和2d变换——回顾
  12. 某大公司的sql面试题
  13. web APIS
  14. rtrim() 函数 从字符串的末端开始删除空白字符!
  15. U3D对齐功能
  16. vue脚手架用axios请求本地数据
  17. C++ STL--顺序容器(vector)
  18. FNDLOAD使用大全
  19. C# 使用Nlog记录日志到数据库
  20. (二)Python 装饰器

热门文章

  1. django中间件及中间件实现的登录验证
  2. 【Java】数组知识回顾
  3. finddler的安装与设置
  4. Mysql: pt-table-checksum 和 pt-table-sync 检查主从一致性,实验过程
  5. (转)Unity 和 Cocos2d-x 越渐流行,国内公司开发「自研游戏引擎」的意义何在?
  6. 深入理解yii2之RBAC(模块化系统)
  7. python爬虫:利用正则表达式爬取豆瓣读书首页的book
  8. PAT (Basic Level) Practice 1004 成绩排名
  9. 007---Django的视图层
  10. HyperLedger Fabric 1.4 区块链技术形成(1.2)