summary refs log tree commit diff
diff options
context:
space:
mode:
authorArnold <arnold.dech@adct.be>2024-01-22 15:22:16 +0100
committerGitHub <noreply@github.com>2024-01-22 14:22:16 +0000
commit8459ac9be2e8036f9a9c49d81fd57943b1421502 (patch)
treee2c19735f2af2efb191c7feb9ffde7e52a444148
parentAllow room creation but not publishing to continue if room publication rules ... (diff)
downloadsynapse-8459ac9be2e8036f9a9c49d81fd57943b1421502.tar.xz
listen http2 deprecated nginx (updating documentation) (#16831)
More info [here](https://www.nginx.com/blog/nginx-plus-r30-released/).

Nginx threw error's at me when I used all the options of the doc
-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;