1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 03:46:29 +00:00

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")) }}
server {
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;
ssl_certificate /etc/nginx/certs/default.crt;