From 32c7a3256768436f4ff52a4e927e593759bd68f2 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 6 Mar 2023 19:09:07 +0100 Subject: [PATCH] synapse: Fixup --- system/nixos/synapse.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/system/nixos/synapse.nix b/system/nixos/synapse.nix index 3e02595..a99b54a 100644 --- a/system/nixos/synapse.nix +++ b/system/nixos/synapse.nix @@ -87,18 +87,9 @@ extraConfigFiles = [ config.age.secrets.synapse-extra-config.path ]; }; - networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 8008 8443 ]; + networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 8008 ]; services.nginx.virtualHosts."matrix.kempkens.io" = { - listen = [ - { addr = "0.0.0.0"; port = 80; } - { addr = "[::0]"; port = 80; } - { addr = "0.0.0.0"; port = 443; ssl = true; } - { addr = "[::0]"; port = 443; ssl = true; } - - { addr = "0.0.0.0"; port = 8443; ssl = true; } - { addr = "[::0]"; port = 8443; ssl = true; } - ]; http3 = true; forceSSL = true;