summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/node-light.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-07-16 18:57:09 +0200
committermakefu <github@syntax-fehler.de>2019-07-16 18:57:09 +0200
commit570af0025a1ff0e1346b7efcacf6eb00ebc7d4d6 (patch)
treea2cf0c82f68cb2d64bf0f72e3cd5859ea200ae59 /krebs/2configs/shack/node-light.nix
parentcd1ab46c3b2069318c72dc56e7cfe7ae5a06f3e9 (diff)
shack/muellshack,node-light: fix paths
Diffstat (limited to 'krebs/2configs/shack/node-light.nix')
-rw-r--r--krebs/2configs/shack/node-light.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/2configs/shack/node-light.nix b/krebs/2configs/shack/node-light.nix
index d7e9e90bb..63772f182 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";