fixed synapse who was not binding to ipv4

This commit is contained in:
chloe 2024-07-19 20:13:30 +02:00
parent 1b7fecf202
commit bbe94ad466
4 changed files with 22 additions and 12 deletions

View file

@ -9,7 +9,7 @@ let
baseUrl = "https://talk.hypervirtual.world";
in
{
networking.domain = "hypervirtual.world";
sops.secrets.data = {
sopsFile = ../secrets/matrix.yaml;
format = "yaml";
@ -20,13 +20,16 @@ in
enable = true;
settings = {
serverName = baseUrl;
serverName = "hypervirtual.world";
public_baseurl = baseUrl;
enable_registration = false;
listeners = [
{
port = 8008;
bind_addresses = [ "::1" ];
bind_addresses = [
"::1"
"127.0.0.1"
];
type = "http";
tls = false;
x_forwarded = true;