summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/2configs/shack/muellshack.nix2
-rw-r--r--krebs/2configs/shack/node-light.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/krebs/2configs/shack/muellshack.nix b/krebs/2configs/shack/muellshack.nix
index 92897214..1e6843bd 100644
--- a/krebs/2configs/shack/muellshack.nix
+++ b/krebs/2configs/shack/muellshack.nix
@@ -20,7 +20,7 @@ in {
};
};
services.nginx.virtualHosts."openhab.shack" = {
- locations."/muellshack".proxyPass = "http://localhost:${port}";
+ locations."/muellshack/".proxyPass = "http://localhost:${port}/muellshack/";
};
systemd.services.muellshack = {
description = "muellshack";
diff --git a/krebs/2configs/shack/node-light.nix b/krebs/2configs/shack/node-light.nix
index d7e9e90b..63772f18 100644
--- a/krebs/2configs/shack/node-light.nix
+++ b/krebs/2configs/shack/node-light.nix
@@ -29,8 +29,8 @@ in {
services.nginx.virtualHosts."openhab.shack" = {
serverAliases = [ "lightapi.shack" ];
- locations."/power".proxyPass = "http://localhost:${port}";
- locations."/lounge".proxyPass = "http://localhost:${port}";
+ locations."/power/".proxyPass = "http://localhost:${port}/power/";
+ locations."/lounge/".proxyPass = "http://localhost:${port}/lounge/";
};
systemd.services.node-light= {
description = "node-light";