mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-09-05 18:41:00 +00:00
Update docs to ensure /.well-known/ is proxied too
The following URLs need to be proxied as well: https://example.org/.well-known/matrix/server https://example.org/.well-known/matrix/client
This commit is contained in:
parent
a87f4b6171
commit
7c9f5b75f5
1 changed files with 4 additions and 1 deletions
|
@ -163,6 +163,8 @@ ServerName your.server.name # EDIT THIS
|
||||||
AllowEncodedSlashes NoDecode
|
AllowEncodedSlashes NoDecode
|
||||||
ProxyPass /_matrix/ http://127.0.0.1:6167/_matrix/ timeout=300 nocanon
|
ProxyPass /_matrix/ http://127.0.0.1:6167/_matrix/ timeout=300 nocanon
|
||||||
ProxyPassReverse /_matrix/ http://127.0.0.1:6167/_matrix/
|
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>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
@ -184,6 +186,7 @@ Create `/etc/caddy/conf.d/conduit_caddyfile` and enter this (substitute for your
|
||||||
```caddy
|
```caddy
|
||||||
your.server.name, your.server.name:8448 {
|
your.server.name, your.server.name:8448 {
|
||||||
reverse_proxy /_matrix/* 127.0.0.1:6167
|
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
|
# Increase this to allow posting large files such as videos
|
||||||
client_max_body_size 20M;
|
client_max_body_size 20M;
|
||||||
|
|
||||||
location /_matrix/ {
|
location ~ ^/(_matrix|.well-known)/ {
|
||||||
proxy_pass http://127.0.0.1:6167;
|
proxy_pass http://127.0.0.1:6167;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue