mastodon.nu är en av de många oberoende Mastodon-servrar som du kan använda för att delta i Fediversen.
Mastodon.nu etablerades 2021 och är den största servern i Norden samt öppen för alla. Den drivs ideellt på ett professionellt vis och med 100% förnybar energi. Välkommen! Velkommen! Tervetuloa!

Administrerad av:

Serverstatistik:

1,8K
aktiva användare

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.

Philip Jägenstedt

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

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