From 9437b24b8e4c99062f68034e0fb6500c2df319d1 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 4 May 2024 16:17:59 -0700 Subject: [PATCH 1/2] proxy passes --- provision/hosts/torus/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/provision/hosts/torus/configuration.nix b/provision/hosts/torus/configuration.nix index 7ed4de7d..3575b67f 100644 --- a/provision/hosts/torus/configuration.nix +++ b/provision/hosts/torus/configuration.nix @@ -123,6 +123,18 @@ "git.tstarr.us" = (SSL // { locations."/".proxyPass = "http://localhost:3001/"; }); + "workspace.tstarr.us" = (SSL // { + locations."/".proxyPass = "http://localhost:5000/"; + }); + "code.tstarr.us" = (SSL // { + locations."/" = { + proxyPass = "http://localhost:8443/"; + proxyWebsockets = true; + }; + }); + "plot.tstarr.us" = (SSL // { + locations."/".proxyPass = "http://localhost:8988/"; + }); "share.tstarr.us" = (SSL // { locations."/".proxyPass = "http://localhost:5001/"; extraConfig = '' From 59bb44e2851c8e81e49445b3691c0f0623663536 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 4 May 2024 17:20:18 -0700 Subject: [PATCH 2/2] fix rss-bridge --- provision/hosts/torus/configuration.nix | 9 --------- provision/hosts/torus/rss.nix | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/provision/hosts/torus/configuration.nix b/provision/hosts/torus/configuration.nix index 1041c878..4f481d22 100644 --- a/provision/hosts/torus/configuration.nix +++ b/provision/hosts/torus/configuration.nix @@ -80,15 +80,6 @@ gollum # Wiki software that provides a simple, Git-based wiki engine. ]; - # Enable the OpenSSH daemon. - services.openssh.enable = true; - services.pcscd.enable = true; - programs.gnupg.agent = { - enable = true; - pinentryPackage = pkgs.pinentry-curses; - enableSSHSupport = true; - }; - security.acme = { acceptTerms = true; defaults.email = "starrtyler88@gmail.com"; diff --git a/provision/hosts/torus/rss.nix b/provision/hosts/torus/rss.nix index ae767124..23e5a169 100644 --- a/provision/hosts/torus/rss.nix +++ b/provision/hosts/torus/rss.nix @@ -30,7 +30,7 @@ in services.rss-bridge = { enable = true; - whitelist = [ "*" ]; + config.system.enabled_bridges = [ "*" ]; virtualHost = "${domain}"; };