![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
文章平均质量分 61
水瓶_bxt
时间不在于你拥有多少,而在于你如何使用。
展开
-
nginx高可用
1.两台节点安装keepalived [root@lizhe ~]# yum install -y keepalived [root@lizhe ~]# cd /etc/keepalived/2.修改keepalived配置文件.[root@lizhe network-scripts]# cd /etc/keepalived/[root@lizhe keepalived]# vim keepalived.conf global_defs { notification_email { ac原创 2021-08-16 17:05:24 · 67 阅读 · 0 评论 -
linux系统Centos简单安装nginx
下载安装包链接:https://pan.baidu.com/s/1ULrS0I6FmgUyBU6Z5Q18Hg提取码:0anr1.解压nginx压缩包[root@lizhe ~]# cd /usr/local/[root@lizhe local]# lsaegis bin cloudmonitor docker-file etc games include lib lib64 libexec nginx nginx-1.20.1.tar.gz sbin share s原创 2021-08-16 15:14:28 · 102 阅读 · 0 评论 -
nginx配置详解
在/nginx/conf/下创建一个extra文件夹,一些配置放到该目录下,通过载nginx.conf中通过include导入配置文件,方便维护。/nginx/confi/nginx.confworker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type text/html; sendfile on; ke原创 2021-03-28 16:08:59 · 362 阅读 · 0 评论 -
基于 Nginx+lua+Memcache 实现灰度发布
一、灰度发布原理说明灰度发布在百度百科中解释:灰度发布是指在黑与白之间,能够平滑过渡的一种发布方式。AB test就是一种灰度发布方式,让一部分用户继续用A,一部分用户开始用B,如果用户对B没有什么反对意见,那么逐步扩大范围,把所有用户都迁移到B上面 来。灰度发布可以保证整体系统的稳定,在初始灰度的时候就可以发现、调整问题,以保证其影响度。这里的用于WEB系统新代码的测试发布,让一部分(IP)用户访问新版本,一部分用户仍然访问正常版本,其原理如图:执行过程:当用户请求到达前端代理服务Nginx原创 2021-02-14 11:56:31 · 434 阅读 · 0 评论