场景是这样的:
- 现在通过网关域名 www.gateway.com/a/ 将请求都转发到 www.a.com
- 但是 www.gateway.com/a/ 页面的静态请求,路径是 www.gateway.com 而不是 www.gateway.com/a/,导致请求都被网关拦截了,页面空白了
如何让 www.gateway.com/a/页面里面的静态资源请求的时候,也带上 /a/路径呢 其中 www.a.com 是一台 nginx 服务器
场景是这样的:
如何让 www.gateway.com/a/页面里面的静态资源请求的时候,也带上 /a/路径呢 其中 www.a.com 是一台 nginx 服务器