reconfigure synapse/element
This commit is contained in:
parent
af6293c990
commit
94c0326a38
4 changed files with 7 additions and 24 deletions
|
|
@ -6,24 +6,12 @@ server {
|
|||
ssl_certificate /ssl/chain.crt;
|
||||
ssl_certificate_key /ssl/certificate.keyplain;
|
||||
|
||||
client_max_body_size 100m;
|
||||
|
||||
error_page 403 404 /403_404.html;
|
||||
location = /403_404.html {
|
||||
default_type application/json;
|
||||
return 200 'You are not authorized to access this page.';
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
default_type application/json;
|
||||
return 200 '{"m.server": "ungleich.matrix.ungleich.cloud:443" }';
|
||||
}
|
||||
location /.well-known/matrix/client {
|
||||
default_type application/json;
|
||||
return 200 '{ "m.homeserver": { "base_url": "https://ungleich.matrix.ungleich.cloud" } }';
|
||||
}
|
||||
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
@ -34,6 +22,6 @@ server {
|
|||
proxy_read_timeout 600s;
|
||||
send_timeout 600s;
|
||||
|
||||
proxy_pass http://elementweb:8008;
|
||||
proxy_pass http://elementweb;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue