1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-09-05 18:41:00 +00:00

Merge branch 'proxy-well-known' into 'next'

Update docs to ensure /.well-known/ is proxied too

See merge request famedly/conduit!762
This commit is contained in:
Emanuele Rocca 2025-08-03 18:51:18 +00:00
commit 9fadfd3d62

View file

@ -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/
</VirtualHost>
```
@ -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;