Updated ssl.exemple.com to use http2 instead of spdy

http2 is available in nginx since nginx 1.9.5. Therefor it's better to use the standard.
This commit is contained in:
Buzut 2016-05-25 15:02:34 +02:00
parent 49aac21945
commit df102c6252
1 changed files with 8 additions and 8 deletions

View File

@ -14,8 +14,8 @@ server {
}
server {
listen [::]:443 ssl spdy;
listen 443 ssl spdy;
listen [::]:443 ssl http2;
listen 443 ssl http2;
# listen on the wrong host
server_name www.example.com;
@ -28,12 +28,12 @@ server {
server {
# listen [::]:443 ssl spdy accept_filter=dataready; # for FreeBSD
# listen 443 ssl spdy accept_filter=dataready; # for FreeBSD
# listen [::]:443 ssl spdy deferred; # for Linux
# listen 443 ssl spdy deferred; # for Linux
listen [::]:443 ssl spdy;
listen 443 ssl spdy;
# listen [::]:443 ssl http2 accept_filter=dataready; # for FreeBSD
# listen 443 ssl http2 accept_filter=dataready; # for FreeBSD
# listen [::]:443 ssl http2 deferred; # for Linux
# listen 443 ssl http2 deferred; # for Linux
listen [::]:443 ssl http2;
listen 443 ssl http2;
# The host name to respond to
server_name example.com;