Welcome! Log In Create A New Profile

Advanced

Re: Nginx + домен

Илья Шипицин
October 27, 2011 11:20PM
мы используем модуль ARR Helper

статья: http://blogs.iis.net/anilr/archive/2009/03/03/client-ip-not-logged-on-content-server-when-using-arr.aspx
модуль: http://blogs.iis.net/blogs/anilr/arr_helper_x64.zip

этот модуль вытаскивает X-Forwarded-for и отдает его как remote_addr в IIS-е

2011/10/27 Fixid <nginx-forum@nginx.us>:
> Есть VPS с Nginx  и  сервер с IIS.
>
> Настроено прокирование сайта с IIS.
> Сайт использует только https
> ssl.conf:
> server {
>    listen       443 default;
>    server_name  www.syte.com ;
>
>    ssl                  on;
>    ssl_certificate      /etc/nginx/conf.d/certificate.cer;
>    ssl_certificate_key  /etc/nginx/conf.d/rsa.key;
>
>    ssl_session_timeout  10m;
>
>    ssl_protocols  SSLv2 SSLv3 TLSv1;
>    ssl_ciphers
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
>    ssl_prefer_server_ciphers   on;
>
>    if ($host = "syte.com" ) {
>    rewrite ^ https://www.syte.com/;
> }
>    location / {
>        proxy_pass https://IIS:980/;
>        proxy_redirect off;
>        proxy_ignore_client_abort off;
>        proxy_connect_timeout 600;
>        proxy_send_timeout 600;
>        proxy_read_timeout 600;
>        proxy_ignore_headers Expires Cache-Control;
>        proxy_hide_header Vary;
>    }
> }
>
>
>
> Как Nginx вернуть вернуть в IIS рельный IP
> зашедшего и домен с которого он зашел
> на сайт?
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,217399,217399#msg-217399
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
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: 108
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