一、Nginx基础部署与多站点管理 1.1 多端口监听与虚拟主机配置 Nginx通过server块实现多站点托管,每个站点可绑定独立IP或端口。例如配置8080端口监听测试环境: server { listen 8080; server_name test.ex……