Баг или фича
    Igor Sysoev 
    is at rambler-co.ru
       
    Fri Apr 21 11:28:42 MSD 2006
    
    
  
On Fri, 21 Apr 2006, Alex [g100m] Mikhal`kov wrote:
>    server {
>        listen        test1.bla:80;
>        location / {
>            proxy_pass         http://test1.bla:8000/;
>            ...
>        }
>    }
>    server {
>        listen        test2.bla:80;
>        location / {
>            proxy_pass         http://test2.bla:8000/;
>            ...
>        }
>    }
>    Бекэнд - локальный апач
>    <VirtualHost *:8000>
>       ServerName test1.bla
>       ...
>    </VirtualHost>
>    <VirtualHost *:8000>
>       ServerName test2.bla
>       ...
>    </VirtualHost>
>    Изменяю конфиг
>    server {
>        listen        test1.bla:80;
>        location / {
>            proxy_pass         http://test2.bla:8000/;
>            ...
>        }
>    }
>    server {
>        listen        test2.bla:80;
>        location / {
>            proxy_pass         http://test1.bla:8000/;
>            ...
>        }
>    }
>
>    Перезапускаю nginx, но смены серверов не происходит. Nginx 0.3.48
А случаем,
proxy_set_header  Host  $host;
нигде не стоит ?
Игорь Сысоев
http://sysoev.ru
    
    
More information about the nginx-ru
mailing list