Re:Cloudflare Pages is now Generally Available
by libeclipse on Monday April 12, 2021 @11:06AM
(#26780193)
Netlify is quite good. Allows you to install Cloudflare's 10 year backend certificate on it so you can turn on Strict HTTPS checking.
[ Parent
| on HN ]
Re:Cloudflare Pages is now Generally Available
by cheeaun on Monday April 12, 2021 @11:09AM
(#26780227)
I'm using Netlify for one of my side projects. Liking it so far but been getting annoyed by the limited _headers/netlify.toml config these days (especially custom redirects).
Re:Cloudflare Pages is now Generally Available
by swyx on Monday April 12, 2021 @11:37AM
(#26780588)
what limitation are you running into? did something change recently?
Re:Cloudflare Pages is now Generally Available
by cheeaun on Monday April 12, 2021 @12:09PM
(#26781063)
I think it's been the same, just recently I need a way to set custom headers for specific paths. Documentation [1] says that I can use * or :placeholder(s?), but there's no examples other than "/*" (which matches everything).
I thought it can do matches like "/folder/*/*.html" but... actually can't. I try look around in the forums, seeing others got confused as well and in the end I gave up :D
As for redirects, I really like :splat [2], but for my use case, I need something can be matched in the middle of the URL string, e.g.: /blog/:splat/whatever. Maybe this is like a weird use-case, or rather I'm thinking of it like glob patterns or regex.
[1] https://docs.netlify.com/routing/headers/ [2] https://docs.netlify.com/routing/redirects/redirect-options/...