diff --git a/hosts/h001/mods/default.nix b/hosts/h001/mods/default.nix index 214f3c6..89dfef1 100644 --- a/hosts/h001/mods/default.nix +++ b/hosts/h001/mods/default.nix @@ -10,6 +10,5 @@ ./openwebui.nix ./trilium.nix ./oauth2-proxy.nix - ./n8n.nix ]; } diff --git a/hosts/h001/mods/n8n.nix b/hosts/h001/mods/n8n.nix deleted file mode 100644 index 33581f4..0000000 --- a/hosts/h001/mods/n8n.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - ... -}: -let - port = 5678; -in -{ - options = { }; - config = { - services.nginx.virtualHosts = { - "n8n.joshuabell.xyz" = { - locations = { - "/" = { - proxyWebsockets = true; - recommendedProxySettings = true; - proxyPass = "http://127.0.0.1:${port}"; - }; - }; - }; - }; - - # Expose litellm to my overlay network as well - networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ port ]; - - services.n8n = { - enable = true; - }; - systemd.services.n8n.environment = { - # N8N_SECURE_COOKIE = "false"; - N8N_EDITOR_BASE_URL = "https://n8n.joshuabell.xyz/"; - }; - }; -} diff --git a/hosts/oracle/o001/nginx.nix b/hosts/oracle/o001/nginx.nix index ace5c87..2188c0b 100644 --- a/hosts/oracle/o001/nginx.nix +++ b/hosts/oracle/o001/nginx.nix @@ -163,14 +163,6 @@ proxyPass = "http://100.64.0.13"; }; }; - "n8n.joshuabell.xyz" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyWebsockets = true; - proxyPass = "http://100.64.0.13"; - }; - }; "notes.joshuabell.xyz" = { enableACME = true; forceSSL = true;