shack/muellshack,node-light: fix paths
This commit is contained in:
parent
cd1ab46c3b
commit
570af0025a
krebs/2configs/shack
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue