外网www.xxx.com/a/1.html 反向代理到 192.168.1.1/1.html
但是1.html页面上有个相对路径/2.html。
希望的路径:www.xxx.com/a/2.html 实际路径:www.xxx.com/2.html
这要怎么解决?
相关问题
- How can I prevent my Shiny App from disconnecting
- Can't configure nginx as a proxy for tomcat wi
- How to set Nginx URI to fix empty URI in redirect
- why does connect domain to “Shopify” ask for eithe
- Nginx with Daphne gives 502 Bad Gateway
语文学的不好... 什么是相对路径、希望的路径 和实际路径?
可以通过
sub_filter
修改页面中的路径