免费查看本文章可前往我的网站:http://chenyikang.xyz/ts-blog/#/index/explore 目录 一、Nginx 1.1、Nginx 下载 1.2、nginx 基础配置的认识 a)第一部分:全局块 b)第二部分:events 块 c)第三部分:http 块 http 块中 内嵌的 server 块 1.3、一些常用配置 1.3.1、location 匹配级别 a)location / b)location = c)location ^~ 1.3.2、实现反向代理 1.3.3、nginx 配置负载均衡 a)weight 权重 b)ip_hash c)fair 1.3.4、nginx 引入模块 一、Nginx 1.1、Nginx 下载 a)打开官方网站连接:nginx news Ps:这里以 nginx-1.25.0 为例