nixos/docker-registry: fix listenAddress

listenAddress config option was previously unused in config generation
This commit is contained in:
Paul Tötterman 2019-02-08 14:19:53 +02:00 committed by Paul Tötterman
parent 6f10a0de83
commit 23a84e939e

View File

@ -18,7 +18,7 @@ let
delete.enabled = cfg.enableDelete;
};
http = {
addr = ":${builtins.toString cfg.port}";
addr = "${cfg.listenAddress}:${builtins.toString cfg.port}";
headers.X-Content-Type-Options = ["nosniff"];
};
health.storagedriver = {