return 404 from map module default value

zflairz nginx-forum at nginx.us
Sat Aug 6 01:53:54 UTC 2011


okay, I see. By adding a slash ($uri/) solved the index problem.

Another minor stuff is: I didn't see following return syntax on the
website (http://wiki.nginx.org/HttpRewriteModule#return)
Is the uri after return code newly added (as an optional value)? I'm
using Nginx 1.0.4. Thanks.

return 301 $redirected_uri;

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,213431,213440#msg-213440



More information about the nginx mailing list