Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-20 Thread xinggu
We are professional Ring Die manufacturers and factory.We can produce high quality Pellet Die according to your requirements.More types of Pellet Mill Die wanted,please contact us right now Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247736,247824#msg-247824

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread Bozhidara Marinchovska
Hello, Your FastCGI params are wrong. It should be as I wrote previously: fastcgi_param REMOTE_ADDR $http_x_real_ip; In your fastcgi_params file remove: fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param HTTP_X_REAL_IP $http_x_real_ip; and add on their place only: fastcgi_param REMOTE_ADDR

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi BR, I am really sorry , if you feel not good the way of I am asking. Since I am not a English person nature , perhaps I am lagging in this part Sorry Thanks Siva Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247736,247750#msg-247750 _

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread B.R.
I am tempted to copy an URL recently provided by Maxim in another thread: http://www.catb.org/~esr/faqs/smart-questions.html --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
REAL IP value not passing location ~ \.php$ { root /var/www; fastcgi_pass 127.0.0.1:9000; #fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi Bozhidara, Thanks for the suggesting . I will try your setting and let you know soon. Thanks Siva Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247736,247744#msg-247744 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi BR, www.whatismyip.com shows 115.1x8.3x.37 , Apache shows 115.1x8.3x.37 But nginx shows 210.55.x.x Server Setup like follows Nginx on Port 80 backend FastCGI Php Apache on Port 8080 nginx conf user www-data; worker_processes 4; work

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread Bozhidara Marinchovska
Hello, If your trackfail.php (behind FastCGI) detects IP address based on $_SERVER['REMOTE_ADDR'], you may would like to place additional headers in your nginx configuration: proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; Then pass X-Rea

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread B.R.
Despite what you are stating, I see a valid NZ IP address in the '$_SERVER'​ environment variables of the PHP instance running behind Nginx (most probably 210.55.x.x prefix). The Apache remote address is not the right one. Since you failed to explain your setup, I suppose Nginx proxies traffic to

Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

2014-02-19 Thread sivakr
Hi, We have strange issue on our swiss based on server. Issue: Incorrect IP Address value in REMOTE_ADDR Header Nginx Version : 1.2.1 Server OS : Debian 7.1 Modules : nginx -V nginx version: nginx/1.2.1 TLS SNI