ssl, (no) default and sni
Igor Sysoev
igor at sysoev.ru
Thu Dec 3 10:25:39 MSK 2009
On Wed, Dec 02, 2009 at 01:43:15PM -0500, GerMalaz wrote:
> Igor Sysoev Wrote:
> -------------------------------------------------------
> > On Wed, Dec 02, 2009 at 04:20:14AM -0500, GerMalaz
> > wrote:
> >
> > > Any chance to allow
> > >
> > > listen 443 ssl;
> > >
> > > this is, NO "default", if SNI is available?
> >
> > I do not understand what do you want to reach, but
> > since 0.8.21 nginx
> > allows to set listen socket options and features
> > not in default server:
> >
> > server {
> > listen 443 ssl;
> > server_name name;
> > }
> >
> > server {
> > listen 443 default_server;
> > server_name _;
> > }
> >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://nginx.org/mailman/listinfo/nginx
>
>
> That's what I meant, yes, thanks. (using 0.7.x)
>
> Want to use
>
> listen 80
> listen 443 ssl
>
> for more than 1 server name.
server {
listen 80;
listen 443; # it will be SSL anyway
}
server {
listen 80;
listen 443 default ssl;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list