netdata runs on host sid #46
2 changed files with 6 additions and 2 deletions
|
|
@ -14,10 +14,13 @@
|
|||
hosts {
|
||||
${hosts.sid.ip} ${ca-fqdn}
|
||||
|
||||
${hosts.rx4.ip} rx4.tail
|
||||
# Intranet services
|
||||
${hosts.sid.ip} ${services.netdata.fqdn}
|
||||
${hosts.sid.ip} ${services.vaultwarden.fqdn}
|
||||
${hosts.sid.ip} ${services.webdav.fqdn}
|
||||
|
||||
# Tailnet hosts
|
||||
${hosts.rx4.ip} rx4.tail
|
||||
${hosts.sid.ip} sid.tail
|
||||
${hosts.vde.ip} vde.tail
|
||||
fallthrough
|
||||
|
|
|
|||
|
|
@ -51,7 +51,8 @@ in
|
|||
useACMEHost = "sid-internal";
|
||||
forceSSL = ssl;
|
||||
locations."/" = {
|
||||
proxyPass = "http://${constants.hosts.rx4.ip}:${toString constants.services.netdata.port}";
|
||||
# proxyPass = "http://${constants.hosts.sid.ip}:${toString constants.services.netdata.port}";
|
||||
proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue