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

http正向代理问题 #1133

Open lihailiang3393 opened 1 year ago

lihailiang3393 commented 1 year ago

Describe the bug A clear and concise description of what the bug is. 使用http代理不能正确访问内网站点 我在内网部署了一个django web 服务,服务端口为8000,http监听端口为8004,配置好代理后访问内网站点不能正确访问,报错如下 image 使用代理之后访问站点为什么path里面多了一个主机呢? 求解答,感谢大佬 To Reproduce Steps to reproduce the behavior:

  1. Opening '...'
  2. Click on '....'
  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots or logs Add screenshots or logs to help explain your problem.

Server (please complete the following information):

Client (please complete the following information):

Additional context Add any other context about the problem here.