Disable HTTP/2 for non-HTTPS traffic
server {
- listen 80 http2 default_server;
- listen [::]:80 http2 default_server ipv6only=on;
+ listen 80 default_server;
+ listen [::]:80 default_server ipv6only=on;
listen 443 http2 ssl;
listen [::]:443 http2 ipv6only=on ssl;
