MyNixOS website logo
option

services.matrix-synapse.settings.listeners

List of ports that Synapse should listen on, their purpose and their configuration.

By default, synapse will be configured for client and federation traffic on port 8008, and use a UNIX domain socket for worker replication. See services.matrix-synapse.workers for more details.

Declarations
Type
list of (submodule)
Default
[
  {
    bind_addresses = [
      "127.0.0.1"
    ];
    port = 8008;
    resources = [
      {
        compress = true;
        names = [
          "client"
        ];
      }
      {
        compress = false;
        names = [
          "federation"
        ];
      }
    ];
    tls = false;
    type = "http";
    x_forwarded = true;
  }
]