reconfigure synapse/element

This commit is contained in:
Nico Schottelius 2023-10-02 10:45:47 +02:00
commit 94c0326a38
4 changed files with 7 additions and 24 deletions

View file

@ -2275,7 +2275,7 @@ sso:
oidc_providers:
- idp_id: keycloak
idp_name: "Corp Login"
idp_name: "Corp Login"
issuer: "https://idp.corp-serv.net/realms/MAT"
client_id: "synapse"
client_secret: "vulBbPIatTqthf3wVgWbXjrLa00Ejk913gQEqgFhZm6FTJj4rc5CWgGGIBjH6CBDaAmeyZ4Tgs0iK7w9tannkaY8u3ziW4vhU0Ji"

View file

@ -14,15 +14,9 @@ server {
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 / {
root /www;
}
location /.well-known/matrix/client {
default_type application/json;
return 200 '{ "m.homeserver": { "base_url": "https://ungleich.matrix.ungleich.cloud" } }';
}
location ~ /_matrix|/_synapse {
proxy_set_header X-Forwarded-For $remote_addr;