🚀 Feature Request: Add support for easy proxying to R2 using Pages _redirects file
See original GitHub issueDescribe the solution
The Pages documentation for redirects seems to say that easy proxying will be supported later, with syntax such as:
/blog/* https://blog.my.domain/:splat 200
I’m very excited for that feature, but even more exciting would be to also add easy read-only proxying of private R2 buckets with syntax such as:
/blog/* r2://my-bucket/:splat 200
This would notably be very useful to work around Page’s 25MB filesize limit.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Redirects and rewrites - Netlify Docs
Manage traffic to your site by defining redirect or rewrite rules in a _redirects file or a netlify.toml file.
Read more >Proposal: native redirects config · Issue #7392 · ipfs/kubo
This is currently true for results redirected to a local node via IPFS Companion or for IPFS hosting services such as Fleek. Proposal....
Read more >Create redirects for GitLab Pages
Introduced in GitLab 14.3. Use placeholders in rules to match portions of the requested URL and use these matches when rewriting or redirecting...
Read more >Working with Redirects and Rewrites - Gatsby Cloud
What is a redirect? Redirects are settings in the network layer that allow you to route traffic from one url path to another...
Read more >How to Create NGINX Rewrite Rules
Rewrite rules change part or all of the URL in a client request, ... the return directive is simple to use, and suitable...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fwiw, R2 is supported on pages functions now
Pages Functions does not appear to support R2 bindings yet, so I was planning to just use a Worker to proxy R2.