From bb2577f6b7af202fefb249f83a27e99cbd8712a4 Mon Sep 17 00:00:00 2001
From: David Vo <auscompgeek@users.noreply.github.com>
Date: Fri, 19 Feb 2021 00:46:16 +1100
Subject: [PATCH] Add http2 to the nginx example config (#9390)

---
 changelog.d/9390.doc  | 1 +
 docs/reverse_proxy.md | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 changelog.d/9390.doc

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;
 
-- 
GitLab