Disable HTTP/2 for non-HTTPS traffic
This commit is contained in:
parent
d5004f85a1
commit
f5a2be33c8
|
@ -1,6 +1,6 @@
|
||||||
server {
|
server {
|
||||||
listen 80 http2 default_server;
|
listen 80 default_server;
|
||||||
listen [::]:80 http2 default_server ipv6only=on;
|
listen [::]:80 default_server ipv6only=on;
|
||||||
|
|
||||||
listen 443 http2 ssl;
|
listen 443 http2 ssl;
|
||||||
listen [::]:443 http2 ipv6only=on ssl;
|
listen [::]:443 http2 ipv6only=on ssl;
|
||||||
|
|
Loading…
Reference in New Issue