• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






守护式等待

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 72 下一页

2019年6月12日

nginx 性能优化
摘要: 1.文件句柄 liunx 一切皆文件,文件句柄就是一个索引 2.设置方式 系统全局性修改 用户局部性修改 进程局部性修改 3.用户的文件句柄限制 cat /etc/security/limits.conf root soft nofile 65535 # root用户 soft 软连接 root h 阅读全文
posted @ 2019-06-12 11:13 守护式等待 阅读(64) 评论(0) 推荐(0)
 
压力测试工具 ab
摘要: 1.安装 yum -y install httpd-tools 2.使用 ab -n 2000 -c 2 https://www.kangcenet.com/ -n 总的请求数 -c 并发数 -k 是否开启长连接 Server Software: Apache/2.4.29 服务软件版本 Serve 阅读全文
posted @ 2019-06-12 11:08 守护式等待 阅读(77) 评论(0) 推荐(0)
 

2019年6月11日

nginx 常见的问题
摘要: 1.server匹配优先级 nginx 读取文件名是按照文件排序优先读取的顺序 对与一样的server 优先使用先读取到的 2.location匹配优先级 = 进行普通字符精确匹配,也就是完全匹配 优先级最高 匹配上就不会在去寻找其他的location ^~ 表示普通字符匹配,使用前缀匹配 优先级最 阅读全文
posted @ 2019-06-11 17:28 守护式等待 阅读(92) 评论(0) 推荐(0)
 
nginx lua
摘要: 1.lua安装 yum install -y lua 阅读全文
posted @ 2019-06-11 15:48 守护式等待 阅读(83) 评论(0) 推荐(0)
 
nginx geoip_module 地域信息读取
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-11 14:19 守护式等待 阅读(268) 评论(0) 推荐(0)
 
nginx secure_link_module 访问包含
摘要: server { listen 80; server_name localhost; #charset koi8-r; #access_log /var/log/nginx/log/host.access.log main; root /opt/app/code; location / { secu 阅读全文
posted @ 2019-06-11 10:56 守护式等待 阅读(113) 评论(0) 推荐(0)
 

2019年6月10日

nginx 重定向 rewrite 规则
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-10 15:18 守护式等待 阅读(220) 评论(0) 推荐(0)
 
nginx 动静分离
摘要: 1.nginx动态和静态请求分离 upstream java_api{ server 127.0.0.1:8080; } server { listen 80; server_name localhost; #charset koi8-r; access_log /var/log/nginx/log 阅读全文
posted @ 2019-06-10 14:37 守护式等待 阅读(53) 评论(0) 推荐(0)
 
nginx 跨域请求访问
摘要: 1.nginx跨域请求访问 location ~ .*\.(htm|html)$ { add_header Access-Control-Allow-Origin(请求域名) *(所有域名) https://www.baidu.com(指定站点); # 跨站请求访问设置 add_header Acc 阅读全文
posted @ 2019-06-10 14:17 守护式等待 阅读(112) 评论(0) 推荐(0)
 

2019年6月5日

docker 部署mysql
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-05 10:53 守护式等待 阅读(167) 评论(0) 推荐(0)
 
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 72 下一页