Linux-024-Centos Nginx 代理配置:不同端口代理不同服务

创建如下所示的目录,并在相应的文件中写入相应的内容,简单模拟三个不同的服务 在 Nginx 的配置文件中添加所示的代理配置 server { listen 8081; server_name localhost; location / { root /data/servers/8081; index
posted @ 2021-03-10 23:08  范丰平  Views(382)  Comments(0Edit  收藏  举报