about summary refs log tree commit diff
path: root/machines/profpatsch/haku.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/profpatsch/haku.nix')
-rw-r--r--machines/profpatsch/haku.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix
index a5c1c66b..901beb44 100644
--- a/machines/profpatsch/haku.nix
+++ b/machines/profpatsch/haku.nix
@@ -70,17 +70,12 @@ in
       virtualHosts."haku.profpatsch.de" = {
         forceSSL = true;
         enableACME = true;
-        locations."/".root = pkgs.writeTextDir "index.html" ''hello world'';
-        serverAliases = [ "lojbanistan.de" ];
-      };
-      virtualHosts."pub.profpatsch.de" = {
-        forceSSL = false;
-        enableACME = true;
-        locations."/" = {
+        locations."/pub/" = {
           proxyPass = "http://localhost:${toString warpspeedPort}/";
         };
+        locations."/".root = pkgs.writeTextDir "index.html" ''hello world'';
+        serverAliases = [ "lojbanistan.de" ];
       };
-
     };
 
     services.mlmmj = {