Hi all,
Wondering if you all could help me convert this Apache rewrite rule over to nginx. I'm wanting to totally drop Apache in favor of PHP-FPM and already do most of my rewrites in nginx.
RewriteCond %{DOCUMENT_ROOT}/$1 -f [OR]
RewriteCond %{DOCUMENT_ROOT}/$1 -d
RewriteRule (.*) - [S=1]
RewriteRule ^(.+)$ /index.php$1
Mainly where I am stumped is how can I implement a similar "skip" clause (i.e. [S=1]) in nginx?
Thanks for your help!