I am trying to create a reverse-proxy web application using Flask. I don't really know weather to call it reverse-proxy or not but my idea is that the web app gets a URL from
../proxy/<URL>, goes to
URL like it got
../proxy/example.com, and now takes the HTML (Page source code) from that website and using Flask sends that HTML as response to
Now here is the security question
/proxy/<URL>. No, I don't mean through proxy but I mean while connecting directly to website they are under my website like they are in
/proxy/example.com and then it is connected into their website.