Use HTTP/2 instead of SPDY
This commit is contained in:
parent
249fb204f1
commit
e06d5917a2
1 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ server {
|
|||
|
||||
server {
|
||||
server_name {{ $host }};
|
||||
listen 443 ssl spdy {{ $default_server }};
|
||||
listen 443 ssl http2 {{ $default_server }};
|
||||
access_log /var/log/nginx/access.log vhost;
|
||||
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
|
@ -185,7 +185,7 @@ server {
|
|||
{{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
|
||||
server {
|
||||
server_name {{ $host }};
|
||||
listen 443 ssl spdy {{ $default_server }};
|
||||
listen 443 ssl http2 {{ $default_server }};
|
||||
access_log /var/log/nginx/access.log vhost;
|
||||
return 503;
|
||||
|
||||
|
|
Reference in a new issue