Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit bb2577f

Browse files
authored
Add http2 to the nginx example config (#9390)
1 parent 43f1c82 commit bb2577f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

changelog.d/9390.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add HTTP/2 support to the nginx example configuration. Contributed by David Vo.

docs/reverse_proxy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ the reverse proxy and the homeserver.
4040

4141
```
4242
server {
43-
listen 443 ssl;
44-
listen [::]:443 ssl;
43+
listen 443 ssl http2;
44+
listen [::]:443 ssl http2;
4545
4646
# For the federation port
47-
listen 8448 ssl default_server;
48-
listen [::]:8448 ssl default_server;
47+
listen 8448 ssl http2 default_server;
48+
listen [::]:8448 ssl http2 default_server;
4949
5050
server_name matrix.example.com;
5151

0 commit comments

Comments
 (0)