Welcome! Log In Create A New Profile

Advanced

IIS за nginx = проблемы с IP

April 01, 2010 07:21AM
Приветствую!

Перелопатил все источники, но никак не могу понять, как заставить IIS, стоящий за nginx видеть реальные IP адреса клиентов, а не тот, на котором висит nginx.
Для апача это, как я понял, делается модулем mod_realip, а для IIS? Может кто сталкивался/решал проблему?

Конфиг nginx:
[code]
location / {
proxy_pass http://server:81;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
[/code]

nginx: 0.8.3.4
IIS: 7.5

Заранее спасибо!
Subject Author Posted

IIS за nginx = проблемы с IP

Toshik April 01, 2010 07:21AM

Re: IIS за nginx = проблемы с IP

Maxim Dounin April 01, 2010 08:28AM

Re: IIS за nginx = проблемы с IP

Toshik April 01, 2010 08:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
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