With Apache we’ve sometimes made use of the 410 GONE http status code to indicate that resources have gone away to crawlers etc alongside an html page for human visitors.
E.g. something like:
ErrorDocument 410 ourmovedpage
...
Redirect gone /GONECONTENT
Has anyone come up with something similar for Nginx? I’ve crossposted this to stackoverflow, but are just curious if any Matrix users might have something that we could use?