<div dir="ltr"><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I want to have files in the filesystem that specify the response code and redirect location instead of relying on the nginx configuration for it.<br></span><br>Imagine a file foo.ext looking like:<div><br></div><div>  301 <a href="https://some.host.com/foo.bla">https://some.host.com/foo.bla</a><br><div><br></div><div>On a GET of foo.ext it should result in a 301 to <span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="https://some.host.com/foo.bla">https://some.host.com/foo.bla</a></span></div><div><br>So far I haven't found a module for this. I presume it should not be too terribly hard to write a module for it but maybe I missed something? So I thought I rather double check if there is an easier route.<div><br></div><div>Any thoughts?</div></div></div><div><br></div><div>cheers,</div><div>Torsten</div></div>