I want rewrite a uri to itself without querystring, I tried
rewrite .+ $uri permanent;
but it rewrite to the original uri, with querystring unstripped.
After googled, I try
rewrite .+ $uri? permanent;
and it works correctly.
But why?
--
冷静认真,稳定运行;随时候命,宠辱不惊
from iPad2 3G_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx