From fccfed75c508be2043e845909f45851040820f1f Mon Sep 17 00:00:00 2001 From: Lucy Hochkamp Date: Fri, 15 Mar 2024 01:23:56 +0100 Subject: [PATCH] a --- hosts/ds9/default.nix | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/hosts/ds9/default.nix b/hosts/ds9/default.nix index a5d3be94..5469a9b8 100644 --- a/hosts/ds9/default.nix +++ b/hosts/ds9/default.nix @@ -103,15 +103,6 @@ in services.nginx.clientMaxBodySize = lib.mkForce "8g"; services.nginx.virtualHosts."_". listenAddresses = [ "0.0.0.0" "[::0]" ]; - services.nginx.virtualHosts."h.hailsatan.eu" = { - listenAddresses = [ "0.0.0.0" "[::0]" ]; - useACMEHost = "hailsatan.eu"; - forceSSL = true; - locations = { - "/".proxyPass = "http://10.0.0.12:8123"; - "/".proxyWebsockets = true; - }; - }; boot.initrd.network = { enable = true; postCommands = '' @@ -300,6 +291,23 @@ in group = "users"; }; + services.nginx.virtualHosts."bzzt-api.hailsatan.eu" = { + useACMEHost = "hailsatan.eu"; + forceSSL = true; + locations = { + "/".proxyPass = "http://127.0.0.1:5001"; + "/".proxyWebsockets = true; + }; + }; + services.nginx.virtualHosts."bzzt.hailsatan.eu" = { + useACMEHost = "hailsatan.eu"; + forceSSL = true; + locations = { + "/".proxyPass = "http://127.0.0.1:5001"; + "/".proxyWebsockets = true; + }; + }; + ragon = { cli.enable = true; user.enable = true;