shack/muellshack,node-light: fix paths

This commit is contained in:
makefu 2019-07-16 18:57:09 +02:00
parent cd1ab46c3b
commit 570af0025a
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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";