使用nginx反向代理到不同服务器(共享同一端口)配置文件

https://blog.csdn.net/wang_k_123/article/details/72779443

https://www.cnblogs.com/bayu/p/8041453.html

server {
        #侦听80端口
        listen    80;
        
        #默认请求

        location /{
            #定义首页索引
           index index.php index.html index.htm index.jsp;    

        }
        location /AMS/{
            proxy_pass http://127.0.0.1:8082/AMS/;    
        }
          location /CRMS/ {
            proxy_pass http://127.0.0.1:8083/CRMS/;     
        }

}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2021-11-23
  • 2021-07-31
  • 2021-06-03
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-11-05
  • 2022-01-02
  • 2022-12-23
  • 2022-02-15
  • 2021-11-16
相关资源
相似解决方案