nixos/docker-registry: fix listenAddress
listenAddress config option was previously unused in config generation
This commit is contained in:
parent
6f10a0de83
commit
23a84e939e
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue