For example, “å” can be encoded as /%E5 and /%C3%A5 (utf-8). All my filenames are UTF-8, so the ASCII variants return a 404. I want both variants to work.
I have tried rewriting the incorrect URLs to the correct encodings with variations of the below configuration. I have not been able to actually match the locations so have not gotten anywhere.
rewrite ^/%E5$ /%C3%A permanent;
rewrite ^/%25E5$ /%25C3%25A permanent;
location = /%E5 { return 301 /%C3%A; }
How am I supposed match these percent encoded locations?