Welcome! Log In Create A New Profile

Advanced

Re: Nginx + домен

mva
October 27, 2011 06:16AM
Ну так Nginx передает аж двух местах айпишник клиента :) Дальше дело IIS. Собственно, в апаче для такого есть RPAF. В nginx'e - set_real_ip_from <ip_фронтенда>. И NginX будет из X-Real-IP вытаскивать айпишник клиента.
А вот как в IIS вытаскивать айпишник из заголовков и совать в "местный" remote_addr - читать в документации по IIS. :)
--
С уважением,
mva

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

Nginx + домен

Fixid October 27, 2011 05:39AM

Re: Nginx + домен

Sayetsky Anton October 27, 2011 05:44AM

Re: Nginx + домен

Fixid October 27, 2011 05:45AM

Re: Nginx + домен

Fixid October 27, 2011 06:18AM

Re: Nginx + домен

Fixid October 27, 2011 06:19AM

Re: Nginx + домен

mva October 27, 2011 06:16AM

Re: Nginx + домен

mva October 27, 2011 06:24AM

Re: Nginx + домен

Fixid October 27, 2011 06:26AM

Re: Nginx + домен

Fixid October 27, 2011 06:35AM

Re: Nginx + домен

mva October 27, 2011 06:34AM

Re: Nginx + домен

Илья Шипицин October 27, 2011 11:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 109
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready