mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
owncloud httpd-service: fix trusted_domain when unset
When an empty string was given as trusted_domain, the trusted domain was set to be empty string instead of not beeing set.
This commit is contained in:
parent
16fd6c1cf0
commit
9d5bf282c7
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ let
|
|||
"proxyuserpwd" => "",
|
||||
|
||||
/* List of trusted domains, to prevent host header poisoning ownCloud is only using these Host headers */
|
||||
'trusted_domains' => array('${config.trustedDomain}'),
|
||||
${if config.trustedDomain != "" then "'trusted_domains' => array('${config.trustedDomain}')," else ""}
|
||||
|
||||
/* Theme to use for ownCloud */
|
||||
"theme" => "",
|
||||
|
|
Loading…
Reference in a new issue