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;