学习 Nginx 首先需要对它的核心配置文件有一定的认识,这个文件位于 Nginx 的安装 目录/opt/module/nginx/conf 目录下,名字为 nginx.conf 1 基本配置 2 events 配置 3 http 配置 (1) 基本配置 (2) server 配置,可以有多个