From c49e5ce7c12836e60bc8a54bb59aaf016d216fdd Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Fri, 13 Feb 2026 10:19:24 -0700 Subject: [PATCH] plsplspls --- modules/matrix.nix | 2 +- modules/nginx.nix | 56 +++++++++++++++++++++++----------------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/modules/matrix.nix b/modules/matrix.nix index 120c744..effadcd 100644 --- a/modules/matrix.nix +++ b/modules/matrix.nix @@ -99,7 +99,7 @@ in # ''; # serviceConfig.Type = "oneshot"; # unitConfig.ConditionPathExists = "!${livekitKeyFile}"; - }; + # }; networking.firewall = { allowedTCPPorts = [ 7880 7881 5349 ]; diff --git a/modules/nginx.nix b/modules/nginx.nix index 6cd620c..b891620 100644 --- a/modules/nginx.nix +++ b/modules/nginx.nix @@ -391,36 +391,36 @@ in }; }; - "matrixrtc.atri.dad" = { - enableACME = true; - forceSSL = true; + # "matrixrtc.atri.dad" = { + # enableACME = true; + # forceSSL = true; - # lk-jwt-service (handles its own CORS) - locations."~ ^(/sfu/get|/healthz)" = { - priority = 400; - proxyPass = "http://[::1]:${toString config.services.lk-jwt-service.port}"; - extraConfig = '' - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - ''; - }; + # # lk-jwt-service (handles its own CORS) + # locations."~ ^(/sfu/get|/healthz)" = { + # priority = 400; + # proxyPass = "http://[::1]:${toString config.services.lk-jwt-service.port}"; + # extraConfig = '' + # proxy_set_header Host $host; + # proxy_set_header X-Real-IP $remote_addr; + # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + # proxy_set_header X-Forwarded-Proto $scheme; + # ''; + # }; - # livekit - locations."/" = { - proxyPass = "http://[::1]:${toString config.services.livekit.settings.port}"; - proxyWebsockets = true; - extraConfig = '' - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_read_timeout 300; - proxy_send_timeout 300; - ''; - }; - }; + # # livekit + # locations."/" = { + # proxyPass = "http://[::1]:${toString config.services.livekit.settings.port}"; + # proxyWebsockets = true; + # extraConfig = '' + # proxy_set_header Host $host; + # proxy_set_header X-Real-IP $remote_addr; + # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + # proxy_set_header X-Forwarded-Proto $scheme; + # proxy_read_timeout 300; + # proxy_send_timeout 300; + # ''; + # }; + # }; "atash.dev" = { enableACME = true;