Merge pull request #138 from Buzut/master

Updated ssl.exemple.com to use http2 instead of spdy
This commit is contained in:
Andy Dawson 2016-06-08 09:29:16 +02:00
commit 6be3c46535
1 changed files with 8 additions and 8 deletions

View File

@ -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;