update images

pull/2/head
Zhang Peng 2019-08-13 16:23:54 +08:00
parent f43c6a10a4
commit 7c6231fe10
5 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
assets/nginx.eddx 100644

Binary file not shown.

BIN
assets/nginx.jpg 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -16,7 +16,7 @@
反向代理Reverse Proxy方式是指以代理服务器来接受 internet 上的连接请求,然后将请求转发给内部网络上的服务器,并将从服务器上得到的结果返回给 internet 上请求连接的客户端,此时代理服务器对外就表现为一个反向代理服务器。
<br><div align="center"><img src="https://gitee.com/turnon/images/raw/master/images/web/reverse-proxy.png"/></div><br>
<br><div align="center"><img src="https://gitee.com/turnon/images/raw/master/images/web/nginx/reverse-proxy.png"/></div><br>
## Nginx 入门
@ -238,6 +238,8 @@ http {
nginx 也可以实现简单的负载均衡功能。
<br><div align="center"><img src="https://gitee.com/turnon/images/raw/master/images/web/nginx/nginx-load-balance.png"/></div><br>
假设这样一个应用场景:将应用部署在 192.168.1.11:80、192.168.1.12:80、192.168.1.13:80 三台 linux 环境的服务器上。网站域名叫 www.helloworld.com公网 IP 为 192.168.1.11。在公网 IP 所在的服务器上部署 nginx对所有请求做负载均衡处理下面例子中使用的是加权轮询策略
nginx.conf 配置如下: