summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorDavid Vo <auscompgeek@users.noreply.github.com>2021-02-19 00:46:16 +1100
committerGitHub <noreply@github.com>2021-02-18 08:46:16 -0500
commitbb2577f6b7af202fefb249f83a27e99cbd8712a4 (patch)
treefd02a576c159d060f17c5641a69f0acb88972d2d /docs
parentAdd back the guard against the user directory stream position not existing. (... (diff)
downloadsynapse-bb2577f6b7af202fefb249f83a27e99cbd8712a4.tar.xz
Add http2 to the nginx example config (#9390)
Diffstat (limited to 'docs')
-rw-r--r--docs/reverse_proxy.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md
index c7020f2df3..04b6e24124 100644
--- a/docs/reverse_proxy.md
+++ b/docs/reverse_proxy.md
@@ -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;