随笔- 452
文章- 302
评论- 28
阅读-
64万
随笔分类 - nginx
nginx
nginx lvs概述
摘要:nginx lvs概述 ·4层负载均衡 传输层 负载均衡最多认识到端口·7层负载均衡 应用层 url uri转发 http https 负载均衡 Ivs 对数据进行转发反向代理 nginx/haproxy 做的代理 代替用户找 找到后发送给用户 Ivs 预备姿势-arp lvs lvs工作模式 dr
阅读全文
nginx HA高可用keepalived
摘要:1.Keepalived高可用基本概述 1.什么是高可用 一般是指2台机器启动着相同的业务系统,当有一台机器down机了,另外一台服务器能快速的接管,对于访问的用户是无感知2.高可用通常使用什么软件?通常服务高可用我们们选择使用keepalived软件实现 keepalived 传送门 heartb
阅读全文
nginx 安全功能https概述
摘要:https加密解密原理 Nginx单台实现HTTPS实战 ssl.oldboylinux.cn server { listen 80; server_name ssl.oldboylinux.cn; return 302 https:ssl.oldboylinux.cn$request_uri; }
阅读全文
nginx rewrite重定向
摘要:1.Rewrite基本概述 1.什么是rewriteRewrite主要实现url地址重写,以及地址重定向,就是将用户请求web服务器的地址重新定向到其他URL的过程。 2.Rewrite使用场景 地址跳转:www.360buy.com >www.jd.com协议跳转: http://oldbey.c
阅读全文
nginx反向代理,负载均衡
摘要:nginx反向代理 1ocation / { proxy_pass http://172.16.1.7:8080; } Syntax:proxy_set_header field value; Default: proxy_set_header Host $proxy_host, proxy_set
阅读全文
nginx通用网站架构lnmp
摘要:nginx环境准备 php环境准备: ##使用第三方扩展源安装php7.1* #不要安装如下rpm会导致失败 # rpm -Uvh https://d1.fedoraproject.org/pub/epe1/epe1-release-latest-7.noarch.rpm # rpm -Uvh ht
阅读全文
nginx日志分析工具goaccess
摘要:nginx日志分析工具goaccess 官网:https://www.goaccess.cc/ 使用手册:https://www.goaccess.cc/?mod=man wget http://tar.goaccess.io/goaccess-1.2.tar.gz tar xf goaccess-
阅读全文
nginx的location详解
摘要:nginx的location详解 属于nginx核心模块中的功能,nginx核心功能. location用于匹配用户请求中的uri的. root /app/code/www/ www.oldboylinux.cn uri:/ /app/code/www/首页文件. www.oldboylinux.c
阅读全文
nginx基础 安装和模块讲解
摘要:nginx基础 官网:http://nginx.org/ 1为什么Nginx总体性能比 Apache 高?Nginx 使用最新的 epoll(Linux2.6内核)和kqueue(freebsd)异步网络 I/O 模型,而 Apache 则使用的是传统的 select 模型目前 Linux下能够承受
阅读全文