上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 50 下一页
摘要: 更新openssl update_ssl.sh 生成指令 重启去掉密码 阅读全文
posted @ 2019-07-22 18:37 1161588342 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 场景: 传输数据安全 缺点: 若被中间人 同时模拟客户端 和服务器 则无法防止 这个缺点需要CA签名证书 http://www.ruanyifeng.com/blog/2011/08/what_is_a_digital_signature.html https://blog.csdn.net/wan 阅读全文
posted @ 2019-07-22 18:15 1161588342 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 场景: 国内访问国内IP, 国外访问国外IP MaxMind GeoIp 二进制读取地域信息 1 国内外做http访问规则 2 国内城市地域做http访问规则 修改nginx.conf 测试.conf 阅读全文
posted @ 2019-07-22 15:54 1161588342 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 参考链接 https://blog.csdn.net/u012525096/article/details/83578321 1: 资源下载 有效期 2: md5.sh 若执行报错, -bash: xxx: /bin/sh^M: bad interpreter: No such file or di 阅读全文
posted @ 2019-07-22 15:17 1161588342 阅读(631) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/qmfsun/p/6549799.html 阅读全文
posted @ 2019-07-22 14:52 1161588342 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 场景优点: URL访问跳转, 兼容支持, SEO优化, 后台维护,流量转发, 安全 语法: Syntax: rewrite regex (正则表达式) replacement [flag]; Context: server,location, if 比如维护界面 rewrite ^(.*)$ /pa 阅读全文
posted @ 2019-07-21 20:24 1161588342 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 优点:减少服务器请求延时 错误的配置, 由于location 匹配到js,css,png,并没有用上 location / {} 的 root配置. 正确的配置, 阅读全文
posted @ 2019-07-21 20:09 1161588342 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 方志鹏 https://www.fangzhipeng.com/spring-cloud.html 先看一个小demo gateway 使用查看源码 非常容易使用, 主要用了 fn.apply 的作用: 把 函数 addRequestHeader 作用在GatewayFilterSpec上面调用. 阅读全文
posted @ 2019-07-19 17:55 1161588342 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1: 静态资源Web服务器 静态资源4类 1> html css js 2>jpeg png gif 3>FLV mp4 4> txt,任何文件类型 文件读取 sendfile on; 默认是关闭的 tcp_nopush on; 默认是关闭的 提升tcp包的传输速度(在sendfile开启的时候使用 阅读全文
posted @ 2019-07-18 09:39 1161588342 阅读(117) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/wajika/p/6575656.html 阅读全文
posted @ 2019-07-17 17:24 1161588342 阅读(442) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 50 下一页