News for hackers. Stuff that matters.
Re:A tiny Docker image to serve static websites by chabad360 on Tuesday April 12, 2022 @01:20PM (#31005595)
Yea, no.

A 301 (or 302) redirect means setting the status code header to 301 and providing a location header with the place to redirect to. Last I checked GitHub doesn't allow any of this, or setting any other headers (like cache-control). To work around this, I've been putting cloudflare in front of my site which lets me use page rules to set redirects if necessary.

There are no comments on this comment yet.