Add http2 to the nginx example config (#9390)

This commit is contained in:
David Vo 2021-02-19 00:46:16 +11:00 committed by GitHub
parent 43f1c82457
commit bb2577f6b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

1
changelog.d/9390.doc Normal file
View file

@ -0,0 +1 @@
Add HTTP/2 support to the nginx example configuration. Contributed by David Vo.

View file

@ -40,12 +40,12 @@ the reverse proxy and the homeserver.
```
server {
listen 443 ssl;
listen [::]:443 ssl;
listen 443 ssl http2;
listen [::]:443 ssl http2;
# For the federation port
listen 8448 ssl default_server;
listen [::]:8448 ssl default_server;
listen 8448 ssl http2 default_server;
listen [::]:8448 ssl http2 default_server;
server_name matrix.example.com;