diff --git a/docs/deploying/generic.md b/docs/deploying/generic.md index 1bda1cac..07bbb3a0 100644 --- a/docs/deploying/generic.md +++ b/docs/deploying/generic.md @@ -163,6 +163,8 @@ ServerName your.server.name # EDIT THIS AllowEncodedSlashes NoDecode ProxyPass /_matrix/ http://127.0.0.1:6167/_matrix/ timeout=300 nocanon ProxyPassReverse /_matrix/ http://127.0.0.1:6167/_matrix/ +ProxyPass /.well-known/ http://127.0.0.1:6167/.well-known/ timeout=300 nocanon +ProxyPassReverse /.well-known/ http://127.0.0.1:6167/.well-known/ ``` @@ -184,6 +186,7 @@ Create `/etc/caddy/conf.d/conduit_caddyfile` and enter this (substitute for your ```caddy your.server.name, your.server.name:8448 { reverse_proxy /_matrix/* 127.0.0.1:6167 + reverse_proxy /.well-known/* 127.0.0.1:6167 } ``` @@ -210,7 +213,7 @@ server { # Increase this to allow posting large files such as videos client_max_body_size 20M; - location /_matrix/ { + location ~ ^/(_matrix|.well-known)/ { proxy_pass http://127.0.0.1:6167; proxy_set_header Host $host; proxy_buffering off;