Use HTTP/2 instead of SPDY

This commit is contained in:
Aleš Roubíček 2015-09-23 17:47:18 +02:00
parent d45c10ca66
commit 249fb204f1

View file

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