summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/16831.doc1
-rw-r--r--docs/reverse_proxy.md8
2 files changed, 5 insertions, 4 deletions
diff --git a/changelog.d/16831.doc b/changelog.d/16831.doc
new file mode 100644
index 0000000000..bf0ef8907a
--- /dev/null
+++ b/changelog.d/16831.doc
@@ -0,0 +1 @@
+NGINX listen http2 deprecation in documentation template for reverse proxy.
diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md
index 20854035d1..de72fbde96 100644
--- a/docs/reverse_proxy.md
+++ b/docs/reverse_proxy.md
@@ -58,12 +58,12 @@ reverse proxy is using.
 
 ```nginx
 server {
-    listen 443 ssl http2;
-    listen [::]:443 ssl http2;
+    listen 443 ssl;
+    listen [::]:443 ssl;
 
     # For the federation port
-    listen 8448 ssl http2 default_server;
-    listen [::]:8448 ssl http2 default_server;
+    listen 8448 ssl default_server;
+    listen [::]:8448 ssl default_server;
 
     server_name matrix.example.com;