updated onlyoffice and nginx ssl

This commit is contained in:
naturallaw77 2023-06-13 12:09:54 -07:00
parent df26c5d01e
commit 20327720d1

View File

@ -12,4 +12,17 @@ let
services.nginx.defaultSSLListenPort = 9443;
services.nginx.defaultHTTPListenPort = 9080;
security.acme = {
acceptTerms = true;
defaults.email = "cert+${caddy_email_for_zerossl}";
certs."${personalization.onlyoffice_url}" = {
webroot = "/var/lib/acme/challenges-com";
email = "cert+${caddy_email_for_zerossl}";
group = "nginx";
extraDomainNames = [ "www.${personalization.onlyoffice_url}" ];
};
};
users.users.nginx.extraGroups = [ "acme" ];
}