Welcome! Log In Create A New Profile

Advanced

Nginx + домен

October 27, 2011 05:39AM
Есть 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 зашедшего и домен с которого он зашел на сайт?
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: 355
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 466 on July 09, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready