OSCHINA 社区最新专区文章 |
SpringCloudGateway聚合文档后,通过Nginx做了一层代理,这样的话通过页面访问到的地址缺失了Nginx的前缀,这种问题怎么解决呢 Posted: 26 May 2022 11:32 PM PDT 我有两个服务,server1和server2,Gateway聚合文档通过Nginx代理后访问接口的地址为http://www.example.com/api/server1/add,Nginx配置的代理路径为/api/通过doc.html访问时路径变为了http://www.example.com/server1/add这样会导致404,有什么解决的方法吗... |
You are subscribed to email updates from OSCHINA 社区最新专区文章. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment