node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

Proxy that shows proxied website

Open magicode118 opened this issue 11 years ago • 1 comments

Hi all, I'm sorry if this may sound stupid but I am still new to proxies and the techniques used in them...

I am having difficulty setting up a proxy with node-http-proxy that allows one to change a request header but at the same time allow the website to be viewed as it is live.

Until now all the examples I tried seem to re-direct the proxied request to a target server which is not what I want. Is there a way to just have a man in the middle proxy that still ends up serving you the targeted website?

Thank you for your help.

magicode118 avatar Mar 14 '15 11:03 magicode118

@zalow517 code always helps with comments to explain the exact semantics you expect :). If you have a request come in to the proxy server, you will proxy the request to whatever target you specifiy. The proxy itself is always a mitm. I need more specifics to see whats going wrong and understand what you are trying to accomplish.

jcrugzz avatar Mar 14 '15 17:03 jcrugzz