newbie needs help

angelochen960 nginx-forum at nginx.us
Thu May 30 12:25:18 UTC 2013


Thanks for the reply, it works, and also I read again those references. a
related issue, say:

if somebody enter this url in the browser:  http://sample.com/not_exist_url

and I'd like to redirect it to

http://sample.com/

with the try_files approach, index.html got displayed, that's right, but the
url in browser still remain as http://sample.com/not_exist_url, i'm looking
for a 302 i believe, any suggestions? thanks.

Angelo

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



More information about the nginx mailing list