4 messages in ru.sysoev.nginxRe: nginx config not reset correctly ...
FromSent OnAttachments
Delta YehSep 17, 2008 12:00 am 
Igor SysoevSep 17, 2008 12:07 am 
Delta YehSep 17, 2008 11:26 pm 
Igor SysoevSep 17, 2008 11:59 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx config not reset correctly after restart via HUP signalActions...
From:Igor Sysoev (is@rambler-co.ru)
Date:Sep 17, 2008 11:59:04 pm
List:ru.sysoev.nginx

On Thu, Sep 18, 2008 at 02:26:47PM +0800, Delta Yeh wrote:

New configuration works because I can access site2 via nginx.

There may be temporary host resolving problem.

Sorry, I can't reproduce it today, hope it is my mistake :)

2008/9/17 Igor Sysoev <is@rambler-co.ru>:

On Wed, Sep 17, 2008 at 03:00:53PM +0800, Delta Yeh wrote:

I 'm testing nginx as a reverse proxy in scenarios.

I use the following config : server { server_name site1; location / { proxy_set_header my_header site1; } } it works as expected.

then I remove site1 ,add site2 ,the config change to : server { server_name site2; location / { proxy_set_header my_header site2; } } and then send the HUP signal to nginx to restart it.

The access to site2 is OK but the value of my_header is still site1. If I stop ngix and start it again , everything is OK.

Is anything in error_log that may prevent to work with the new configuration ?