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
commit 8049fafb5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {