summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/9390.doc1
-rw-r--r--docs/reverse_proxy.md8
2 files changed, 5 insertions, 4 deletions
diff --git a/changelog.d/9390.doc b/changelog.d/9390.doc
new file mode 100644
index 0000000000..8ed2aa8b6a
--- /dev/null
+++ b/changelog.d/9390.doc
@@ -0,0 +1 @@
+Add HTTP/2 support to the nginx example configuration. Contributed by David Vo.
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;