我有一些来自.htaccess的重写网址,它们在nginx上不再有效。都给了我404
.htaccess网址:
RewriteRule ^password/reset?$ index.php?a=password&b=reset [L]
RewriteRule ^email/verification/(.*)?$ index.php?a=email&b=verification&hash=$1 [L]
nginx重写网址
rewrite ^/password/reset?$ index.php?a=password&b=reset break;
rewrite ^/email/verification/(.*)?$ index.php?a=email&b=verification&hash=$1 break;