mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 14:12:47 +00:00
Fix bugs in nginx sample configs
This commit is contained in:
parent
cb4b93b16c
commit
43b3c4a2fc
2 changed files with 9 additions and 9 deletions
|
@ -10,15 +10,15 @@ server {
|
|||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_read_timeout 600;
|
||||
|
||||
location = /.well-known/matrix/server {
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{ "m.server": "my.hostname.com:443" }';
|
||||
}
|
||||
|
||||
location = /.well-known/matrix/client {
|
||||
location /.well-known/matrix/client {
|
||||
return 200 '{ "m.homeserver": { "base_url": "https://my.hostname.com" } }';
|
||||
}
|
||||
|
||||
location = /_matrix {
|
||||
location /_matrix {
|
||||
proxy_pass http://monolith:8008;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue