What should I use to deploy a static web site with a node build step and that has complex redirect and rewrite rules to keep lots of old URLs working? Most options I look at don’t have redirect/rewrite as capable as nginx or apache.

Asking for foolip.org, but we also need something very similar for whatwg.org.

The simplest case that usually isn’t supported in docs is stripping a prefix by redirecting foolip.org/blog/anything to foolip.org/anything. Next is rewriting (without redirect) foolip.org/wiki/something to foolip.org/wiki/something.html.

The latter could be done with a storage bucket with the right headers configured to serve it as text/html, but doing it with a rewrite would be nice.

@domenic I’ll take a look! Do you think it would work for WHATWG hosting too?

Follow

@foolip Yeah, at least for the static services. The problem is just whether we want to spread over all of DigitalOcean, AWS, and Netlify...

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one