ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
29.77k stars 5.38k forks source link

[域名解析-URL 路由]转发时会带上location, 请问如何设置 #1120

Closed sxd1140 closed 6 months ago

sxd1140 commented 1 year ago

场景 访问 http://home.domain.com/openwrt 转到 http://192.168.31.3/

image

但是这样设置后 会转到 http://192.168.31.3/openwrt

请问如何设置可以不带上 /openwrt

hai4john commented 11 months ago

可以尝试一下在端口 目标ip端口后面加 /