Nginx 1.2.3 Rewrite Issue
mdounin at mdounin.ru
Thu Aug 9 14:20:07 UTC 2012
On Thu, Aug 09, 2012 at 05:13:53PM +0300, Nginx User wrote:
> Wierd problem with Nginx 1.2.3 rewrites.
> See http://pastie.org/4433865 and note Line 30. The arg is part of the
> main url. Results in a 404 not found as the final url becomes
> Any cluees
It's not clear what you are trying to do, but if you just want to
preserve arguments as is - there is no need to write anything
rewrite ^/test/index\.html$ /test/index.php last;
Original request arguments (if any) will be preserved as is.
More information about the nginx