mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nixos/graphite: listen on localhost by default
This commit is contained in:
parent
29b99ed9fa
commit
677ecf4868
|
@ -34,7 +34,14 @@ in {
|
|||
carbon = {
|
||||
config = mkOption {
|
||||
description = "Content of carbon configuration file";
|
||||
default = "";
|
||||
default = ''
|
||||
[cache]
|
||||
# Listen on localhost by default for security reasons
|
||||
UDP_RECEIVER_INTERFACE = 127.0.0.1
|
||||
PICKLE_RECEIVER_INTERFACE = 127.0.0.1
|
||||
LINE_RECEIVER_INTERFACE = 127.0.0.1
|
||||
CACHE_QUERY_INTERFACE = 127.0.0.1
|
||||
'';
|
||||
type = types.uniq types.string;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue