Welcome! Log In Create A New Profile

Advanced

correct commands to enable nonssl, ssl, ipv6, spdy

Posted by Ryan Brown 
Ryan Brown
correct commands to enable nonssl, ssl, ipv6, spdy
June 16, 2012 12:30PM
Wanting to enable ssl+spdy+ipv6 on port 443, and ipv6 on port 80.

server {
server_name secure.domain.com;
#
listen [::]80;
listen [::]:443 ssl spdy default ipv6only=on;
#listen [::]:443;
#listen [::]:443 ssl default_server=on;
#listen [::]:443 spdy default ipv6only=on;
[...]
}

I've tried various methods, but the https isn't working.. whats the
correct command to enable all such options?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Valentin V. Bartenev
Re: correct commands to enable nonssl, ssl, ipv6, spdy
June 18, 2012 12:50PM
On Saturday 16 June 2012 14:28:47 Ryan Brown wrote:
> Wanting to enable ssl+spdy+ipv6 on port 443, and ipv6 on port 80.
>
> server {
> server_name secure.domain.com;
> #
> listen [::]80;

listen [::]:80;

> listen [::]:443 ssl spdy default ipv6only=on;
> #listen [::]:443;
> #listen [::]:443 ssl default_server=on;
> #listen [::]:443 spdy default ipv6only=on;
> [...]
> }
>
> I've tried various methods, but the https isn't working.. whats the
> correct command to enable all such options?
>

listen [::]:443 ssl spdy default_server ipv6only=on;

Should work. And don't forget to configure certificate.

http://nginx.org/r/listen
http://nginx.org/en/docs/http/ngx_http_ssl_module.html

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login