redirect from http to https

Igor Sysoev is at rambler-co.ru
Tue Mar 10 21:54:45 MSK 2009


On Tue, Mar 10, 2009 at 07:02:57PM +0100, Steve Zhuo wrote:

> 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"

Could you create a debug log:

./configure  --with-debug ...

nginx.conf:

error_log  /path/to/log  debug;


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list