Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proxy_pass



>> >   :  http://www.site.ru/dir   
>> > http://www.site.ru/dir/.   index.php.
>> >  nginx   .    :
> ...
>> >    dir -> dir/  . 
>> > proxy_redirect     http://localhost:81/ /;
>> >   .
...
> # telnet localhost 81
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> GET http://localhost:81/adm HTTP/1.0
>
> HTTP/1.1 301 Moved Permanently
> Date: Thu, 23 Nov 2006 09:31:35 GMT
> Server: Apache/1.3.29 (Unix)
> Location: http://site.ru:81/adm/

                    ^^^^^^^^^^
proxy_redirect     http://site.ru:81/  /;

, ! !

--
engineer


 




Copyright © Lexa Software, 1996-2009.