modules: services: nginx: use 'recursiveMerge'
This commit is contained in:
parent
364ea0404a
commit
8852699c9a
|
@ -173,7 +173,7 @@ in
|
||||||
domain = config.networking.domain;
|
domain = config.networking.domain;
|
||||||
mkVHost = ({ subdomain, ... } @ args: lib.nameValuePair
|
mkVHost = ({ subdomain, ... } @ args: lib.nameValuePair
|
||||||
"${subdomain}.${domain}"
|
"${subdomain}.${domain}"
|
||||||
(builtins.foldl' lib.recursiveUpdate { } [
|
(lib.my.recursiveMerge [
|
||||||
# Base configuration
|
# Base configuration
|
||||||
{
|
{
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue