With Netlify, proxying is part of their redirecting support. It lets you access remote services as if they were part of your app, i.e. without referring to any remote host in the requested URLs.
There are two major benefits to proxying: It doesn’t require CORS to be set up because the URLs are internal. Also, the responses are cached by Netlify’s CDN servers if they include the corresponding headers.
Redirects can be provided as rewrite rules you can include in a file named _redirects
. This file is expected to be located at the root of your website directory.