summary refs log tree commit diff
path: root/docs
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 /docs
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
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 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;