mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
treewide: use localhost instead of ipv4
This commit is contained in:
parent
68a379bb34
commit
c105a223a7
24 changed files with 42 additions and 53 deletions
|
@ -21,7 +21,6 @@ in
|
|||
enable = true;
|
||||
configuration = {
|
||||
server = {
|
||||
http_listen_address = "127.0.0.1";
|
||||
http_listen_port = cfg.port;
|
||||
grpc_listen_port = 0; # without it collides with loki; only used for pushing (not used)
|
||||
};
|
||||
|
@ -30,7 +29,7 @@ in
|
|||
};
|
||||
clients = [
|
||||
{
|
||||
url = "http://127.0.0.1:${toString config.services.loki.configuration.server.http_listen_port}/loki/api/v1/push";
|
||||
url = "http://localhost:${toString config.services.loki.configuration.server.http_listen_port}/loki/api/v1/push";
|
||||
}
|
||||
];
|
||||
scrape_configs = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue