Skip to content

Commit

Permalink
fix for #17
Browse files Browse the repository at this point in the history
  • Loading branch information
qknight committed Mar 14, 2018
1 parent 29124b6 commit 7a510de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/reverse-proxy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ in
allHttpOnlyProxyOptions = filter (el: (el.http.mode != "off") || (checkWebsockets el.websockets "http") ) allProxyOptions;
allHttpNCDomains = unique (map (el: el.domain) allHttpOnlyProxyOptions);

ACMEImpliedDomains = unique (mapAttrsToList (name: value: value.domain) config.security.acme.certs);
ACMEImpliedDomains = unique (mapAttrsToList (name: value: if (value.domain != null) then value.domain else name) config.security.acme.certs);
ACMEImpliedDomains_ = unique (mapAttrsToList (name: value:
{ name = if (value.domain != null) then value.domain else name; value = value.webroot; }) config.security.acme.certs);

Expand Down

0 comments on commit 7a510de

Please sign in to comment.