Update default config to use new format for enabling HTTP/2 in nginx v1.25.1+
This commit is contained in:
parent
230db7d600
commit
2700ce4ad1
|
@ -9,8 +9,9 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
http2 on;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name _;
|
||||
root /var/www/html;
|
||||
|
||||
|
|
Loading…
Reference in New Issue