nixos/gitlab: Fix missing ca_file for SMTP
Work around upstream issue #790 by explicitly referencing the ca-certificates.crt file.
This commit is contained in:
parent
be9e7745f2
commit
7648b4f8ba
@ -184,6 +184,7 @@ let
|
|||||||
domain: "${cfg.smtp.domain}",
|
domain: "${cfg.smtp.domain}",
|
||||||
${optionalString (cfg.smtp.authentication != null) "authentication: :${cfg.smtp.authentication},"}
|
${optionalString (cfg.smtp.authentication != null) "authentication: :${cfg.smtp.authentication},"}
|
||||||
enable_starttls_auto: ${toString cfg.smtp.enableStartTLSAuto},
|
enable_starttls_auto: ${toString cfg.smtp.enableStartTLSAuto},
|
||||||
|
ca_file: "/etc/ssl/certs/ca-certificates.crt",
|
||||||
openssl_verify_mode: '${cfg.smtp.opensslVerifyMode}'
|
openssl_verify_mode: '${cfg.smtp.opensslVerifyMode}'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user