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:
parent
49aac21945
commit
df102c6252
|
@ -14,8 +14,8 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:443 ssl spdy;
|
listen [::]:443 ssl http2;
|
||||||
listen 443 ssl spdy;
|
listen 443 ssl http2;
|
||||||
|
|
||||||
# listen on the wrong host
|
# listen on the wrong host
|
||||||
server_name www.example.com;
|
server_name www.example.com;
|
||||||
|
@ -28,12 +28,12 @@ server {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
# listen [::]:443 ssl spdy accept_filter=dataready; # for FreeBSD
|
# listen [::]:443 ssl http2 accept_filter=dataready; # for FreeBSD
|
||||||
# listen 443 ssl spdy accept_filter=dataready; # for FreeBSD
|
# listen 443 ssl http2 accept_filter=dataready; # for FreeBSD
|
||||||
# listen [::]:443 ssl spdy deferred; # for Linux
|
# listen [::]:443 ssl http2 deferred; # for Linux
|
||||||
# listen 443 ssl spdy deferred; # for Linux
|
# listen 443 ssl http2 deferred; # for Linux
|
||||||
listen [::]:443 ssl spdy;
|
listen [::]:443 ssl http2;
|
||||||
listen 443 ssl spdy;
|
listen 443 ssl http2;
|
||||||
|
|
||||||
# The host name to respond to
|
# The host name to respond to
|
||||||
server_name example.com;
|
server_name example.com;
|
||||||
|
|
Loading…
Reference in New Issue