DEV Community

Discussion on: About Reverse Proxy

Collapse
 
0916dhkim profile image
Danny Kim

It is similar to iframe in a sense that allow you to have contents from multiple servers served under single domain. Reverse proxy is different from iframe because iframe stitches together content on users' browser. Reverse proxy is a server that does the stitching server-side. I hope the diagram helps visiualizing this! The reverse proxy sits between the browser and other servers.

The franken-code is actually only for developers! The code translates the Vercel's reverse proxy config to local dev server proxy config. This way, developers can work on their local machine with the site stitched together in the same way as production.

Collapse
 
jodoesgit profile image
Jo

Danny, thanks for the response! This is really good knowledge. You did a great job, and truly I had absolutely zero-clue about this prior. So know I've got some pretty powerful information in my hand.

My gal said you can do it exclusively locally as well. Which I know you hinted at above. When the time comes for me, it sounds like I'm going to have to put in some research. But just knowing this exists is the key power.

Thanks again!