netdata: trying host path 302
This commit is contained in:
parent
24fe9cf6d0
commit
612ea64ae9
1 changed files with 4 additions and 0 deletions
|
|
@ -74,6 +74,10 @@ in
|
||||||
proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}";
|
proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}";
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
locations."~ ^/host/([^/]+)/?$" = {
|
||||||
|
return = "302 /#/node/$1";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue