Hi all,
I'm migrating a site from an Apache-based server over to an NGINX one and there's an .htaccess rule that I am finding difficult to migrate. Basically, it's a rewrite based on the Content-Location headers sent by the client in a POST in order to obfuscate some requests:
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^POST$ [NC]
RewriteCond %{HTTP:Content-Location} ^s.php$ [NC]
RewriteRule . quicksave.php [QSA,L]
I've tried a couple proxy_pass and rewrite configs, but I feel like I am going down the wrong path.
Any help?
Thanks.