?https://www.site.com/?

I had someone post a link to a site I was statically hosting on their social media, with emoji arrows pointing towards it. on both sides. Of course this was interpreted as part of the url when clicking the link, and therefore “the sites down, can you fix it” it’s truly the current year.

Decided to just change the 404 rule in nginx because why not

error_page 404 = @jfc-please-save-me;

location @jfc-please-save-me {
  return 301 /;
}

Leave a Comment

Your email address will not be published. Required fields are marked *