From Apache to Nginx rewrites

Published: Wednesday, Mar 26, 2014 Last modified: Thursday, Nov 14, 2024

Apache:

RewriteRule ^client/(.*)$ /client.php?id=$1               [L,QSA]

Nginx:

rewrite ^/client/(.*)$ /client.php?id=$1&$args last;