diff options
author | Jacob Taylor <jacob@explodie.org> | 2023-06-29 02:42:32 +0000 |
---|---|---|
committer | Jacob Taylor <jacob@explodie.org> | 2023-06-29 02:42:32 +0000 |
commit | dc50197a13e2d66608f1ee121b7db34a964031dd (patch) | |
tree | b0bce63c67d19e54e5d21285547bb0edbc96aa7b | |
parent | 6a6f8e80f144140ed14c74b54ace5357c10ac66d (diff) | |
download | conduit-dc50197a13e2d66608f1ee121b7db34a964031dd.zip |
update example configurations in DEPLOY.md for Apache and Nginx which include upstream proxy timeouts of 5 minutes to allow for room joins which take a while
-rw-r--r-- | DEPLOY.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -224,7 +224,8 @@ Listen 8448 ServerName your.server.name # EDIT THIS AllowEncodedSlashes NoDecode -ProxyPass /_matrix/ http://127.0.0.1:6167/_matrix/ nocanon +# joining large rooms can be slow. increase timeout to 600 if you still have issues. +ProxyPass /_matrix/ http://127.0.0.1:6167/_matrix/ timeout=300 nocanon ProxyPassReverse /_matrix/ http://127.0.0.1:6167/_matrix/ </VirtualHost> @@ -270,12 +271,15 @@ server { merge_slashes off; # Nginx defaults to only allow 1MB uploads + # Increase this to allow posting large files such as videos client_max_body_size 20M; location /_matrix/ { proxy_pass http://127.0.0.1:6167$request_uri; proxy_set_header Host $http_host; proxy_buffering off; + # joining large rooms can be slow. increase to 10m if you still have issues. + proxy_read_timeout 5m; } ssl_certificate /etc/letsencrypt/live/your.server.name/fullchain.pem; # EDIT THIS |