Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nginx + домен
- To: nginx-ru@xxxxxxxxx
- Subject: Nginx + домен
- From: "Fixid" <nginx-forum@xxxxxxxx>
- Date: Thu, 27 Oct 2011 05:39:56 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=lPtC+CGumYXNdytuKbe0aFQiLqlbMEbEXDBMnHC6WrY=; b=qodmGWiZHqjbVtuxZF/GwtHbvn5RefL3HGmv0yg9cniAnmUp/inWwH1k7v2AR7nZss6hAQzCm3gLfUeVs1Xyt26K3H6I5p6FL4sIFJeEifGQx4blRtwv2bsb/cuhXUaO;
Есть 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@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|