Loading

Nginx 配置根据路由转发

server{
  // 此路由的一律转发到下面配置服务地址,如有多个,添加多个 location 即可 location
/api/authservice/ {
    proxy_pass http:
//localhost:8001/; } }

 

posted @ 2024-07-23 10:28  Pengxx  阅读(5)  评论(0编辑  收藏  举报