Welcome! Log In Create A New Profile

Advanced

Странное с set_real_ip_from

Vladimir Sopot
July 02, 2016 05:46AM
Привет!

В nginx.conf есть

set_real_ip_from 185.26.180.0/22;
fastcgi_param REMOTE_ADDR $remote_addr;

Но при этом до php-fpm доходит

$_SERVER["REMOTE_ADDR”]=185.26.182.31

nginx version: nginx/1.10.1
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --without-http_uwsgi_module --without-http_scgi_module --with-http_ssl_module --with-http_stub_status_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_geoip_module --add-module=../ngx_cache_purge-2.3/ --with-file-aio --with-http_image_filter_module --with-http_realip_module

Чего не хватает котенку?

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Странное с set_real_ip_from

Vladimir Sopot July 02, 2016 05:46AM

Re: Странное с set_real_ip_from

Fedor Dikarev July 02, 2016 06:40AM

Re: Странное с set_real_ip_from

Vladimir Sopot July 02, 2016 12:26PM

Re: Странное с set_real_ip_from

Fedor Dikarev July 02, 2016 03:36PM

Re: Странное с set_real_ip_from

Vadim A. Misbakh-Soloviov July 03, 2016 05:46AM

Re: Странное с set_real_ip_from

Vasiliy P. Melnik July 03, 2016 10:46AM

Re: Странное с set_real_ip_from

Vladimir Sopot July 04, 2016 08:30AM

Re: Странное с set_real_ip_from

Fedor Dikarev July 05, 2016 07:56AM

Re: Странное с set_real_ip_from

Vladimir Sopot July 05, 2016 08:14AM

Re: Странное с set_real_ip_from

Vladimir Sopot July 15, 2016 05:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready