Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx apache2 (rpaf-0.6)
02.12.2008 16:28, over@xxxxx wrote:
# cat /etc/apache2/mods-enabled/rpaf.conf
RPAFenable On
RPAFproxy_ips 127.0.0.1 10.0.3.3
RPAFsethostname On
RPAFheader X-Forwarded-For
- RPAFheader X-Forwarded-For
+ RPAFheader X-Real-IP
nginx.conf:
---- [ cut ] -----
location / {
proxy_pass http://10.0.3.3:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
ðÏÐÒÏÂÕÊÔÅ ÔÁË
|