ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Два SSL на одном ip


  • To: nginx-ru@xxxxxxxxx
  • Subject: Два SSL на одном ip
  • From: "Tatoon" <nginx-forum@xxxxxxxx>
  • Date: Wed, 22 Aug 2012 10:22:07 -0400 (EDT)
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=7pvlLycQdQMIhE9rwFiRDorYkvz9cDHU8bpUnayVYCE=; b=hL/CwPasv/gbMyNDlitMTwDWhmOle/t3IrLUii6T7iQP2/gwndVFuIVX2DIw0XG61qjWpdKBZYkXCfWTIusCQOA+tpej5Um57k3Y0ZaVrtcN94JksW5nIZvJr80xbGVd;

Добрый день, каким образом можно реализовать такую схему ?

server {
        listen   192.168.0.1:443 default rcvbuf=8192 sndbuf=16384
backlog=32000;
        server_name  site1.ru site2.ru;
        keepalive_timeout 180;
        if ($host = 'site1.ru'){
            ssl on;
            ssl_certificate /usr/local/nginx/conf/cert/site1.crt;
            ssl_certificate_key /usr/local/nginx/conf/cert/site1.key;
            ssl_session_cache    shared:SSL:10m;
            ssl_session_timeout  10m;
        }
        if ($host != 'site1.ru'){
            ssl on;
            ssl_certificate /usr/local/nginx/conf/cert/site2.crt;
            ssl_certificate_key /usr/local/nginx/conf/cert/site2.key;
            ssl_session_cache    shared:SSL:10m;
            ssl_session_timeout  10m;
        }
        ...

И можно ли вообще ?

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,229998,229998#msg-229998

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.