Передача правильного IP клиента апачу с mod_rpaf

Igor Sysoev is at rambler-co.ru
Tue Nov 6 12:26:10 MSK 2007


Bat нужно лечить.
Текст в plain-text части в windows-1251, а кодировка указана utf-8.

On Tue, Nov 06, 2007 at 11:15:26AM +0200, Elifan wrote:

> ????????????, as.
> 
> ?? ?????? 6 ?????? 2007 ?., 09:52:18:
> 
> > Hi All
> > ???????? ? ????? ????:
> > ???? ??????1 ? ??????? IP , ???? nginx ???????? ??????? ?? ?????????
> > ?????? ?????????? ?? ???? ???????1 ?????????? ?????????? ???????
> > ???????, ??????? ????????????? ????? ? ?????? ????????(2,3), ??
> > ?????????? ??????????, ?? ??? ??? ?? ?????????? ?????????? ????????
> > ????? ??????? ? .htaccess ?? ????? "?? ????????? ???? ?????" ? ? ?????
> > ?????? ????? ?????? ????????? ????? ?????????? ???????1, ? ???????? ??
> > ????? ???????, ?????????? ??? ????????? ????????? nginx ??? ???? ?
> > realip ??? rpaf
> 
> 
> nginx.conf:
> 
> server{
> ...
> proxy_set_header   Host             $host;
> proxy_set_header   X-Real-IP        $remote_addr;
> proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
> ...
> }
> 
> 
> 
> 
> 
> -- 
> ? ?????????,
> ???????? ????????,
> ????? ?????????????? ??????????
> ????????? ????????
> ????????
>                            mailto:elifan2007 at ya.ru
>                            icq:   479778
>                            ?. (0642) 59-08-27

-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list