summary refs log tree commit diff
path: root/MxApiExtensions/appsettings.json
blob: 5a73cbe7e3c4626780a534385d46681f92234994 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  // Configuration for the proxy
  "MxApiExtensions": {
    // WARNING: this exposes user tokens to servers listed here, which could be a security risk
    // Only list servers you trust!
    // Keep in mind that token conflicts can occur between servers!
    "AuthHomeservers": [
      "rory.gay",
      "conduit.rory.gay"
    ],
    // List of administrator MXIDs for the proxy, this allows them to use administrative and debug endpoints
    "Admins": [
      "@emma:rory.gay",
      "@emma:conduit.rory.gay"
    ],
    "FastInitialSync": {
      "Enabled": true,
      "UseRoomInfoCache": true
    },
    "Cache": {
      "RoomInfo": {
        "BaseTtl": "00:01:00",
        "ExtraTtlPerState": "00:00:00.1000000"
      }
    }
  }
}