mailsystem: Add option to use selfsigned certificates in preparation for testing
This commit is contained in:
parent
6d6b856bee
commit
a592881b8b
5 changed files with 84 additions and 18 deletions
|
|
@ -121,6 +121,8 @@ in {
|
|||
proxyPass = "http://unix:${rspamdControllerSocket}:/";
|
||||
basicAuthFile = cfg.rspamd.webUi.basicAuthFile;
|
||||
};
|
||||
sslCertificate = lib.mkIf (cfg.certificateScheme == "selfsigned") sslCertPath;
|
||||
sslCertificateKey = lib.mkIf (cfg.certificateScheme == "selfsigned") sslKeyPath;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue