Use HTTP/2 instead of SPDY
This commit is contained in:
parent
d45c10ca66
commit
249fb204f1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ server {
|
||||||
{{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
|
{{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
|
||||||
server {
|
server {
|
||||||
server_name _; # This is just an invalid value which will never trigger on a real hostname.
|
server_name _; # This is just an invalid value which will never trigger on a real hostname.
|
||||||
listen 443 ssl spdy;
|
listen 443 ssl http2;
|
||||||
return 503;
|
return 503;
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/certs/default.crt;
|
ssl_certificate /etc/nginx/certs/default.crt;
|
||||||
|
|
Reference in a new issue