Add rewriting support for static files
Currently any rewrite rules setup in .htaccess are only applied if a static file doesn't exist at that URL. It makes it impossible to implement host and HTTPS redirection on static files. Either make it possible for .htaccess rewrites to work on static files, or add the ability to configure nginx rewrites as well.
Yarmo Mackenbach commented
+1 - badly needed for many purposes, including .well-known rewrites. Please consider this.
+1 - i have a wordpress site and want to protect certain files from direct access unless users are logged in.
On apache .htaccess is fine but with the nginx reverse proxy that cloudways use, I am not allowed to edit the config. Therefore I can't protect some files I want to keep private.