redirect from http to https

Steve Zhuo lists at ruby-forum.com
Tue Mar 10 21:02:57 MSK 2009


I didn't redirect from /favicon.ico, i think this happens when it goes 
into a loop, let's say if i enter the http://domain.com/status,  the log 
will show as
127.0.0.1 - main [09/Mar/2009:23:36:52 +0000] "GET /status
HTTP/1.1" 302 161 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) 
Gecko/2008041514 Firefox/3.0b5"

Only when i enter http://domain.com/  will show  "/favicon.co" in the 
log.

127.0.0.1 - main [09/Mar/2009:23:36:52 +0000] "GET /favicon.ico
HTTP/1.1" 302 161 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) 
Gecko/2008041514 Firefox/3.0b5"


Dave Cheney wrote:
> curl -I http://yoursite/favicon.ico
> 
> I wouldn't be supprised if you're generating a redirect from 
> /favicon.ico to
> favicon.ico.
> 
> Cheers
> 
> Dave
> 
> 
> mike writes:

-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list