Merge pull request #55443 from ptman/patch-1

nixos/docker-registry: fix listenAddress
This commit is contained in:
Sarah Brofeldt
2019-02-08 20:01:22 +01:00
committed by GitHub
@@ -18,7 +18,7 @@ let
delete.enabled = cfg.enableDelete; delete.enabled = cfg.enableDelete;
}; };
http = { http = {
addr = ":${builtins.toString cfg.port}"; addr = "${cfg.listenAddress}:${builtins.toString cfg.port}";
headers.X-Content-Type-Options = ["nosniff"]; headers.X-Content-Type-Options = ["nosniff"];
}; };
health.storagedriver = { health.storagedriver = {