updated onlyoffice and nginx ssl
This commit is contained in:
parent
df26c5d01e
commit
20327720d1
@ -12,4 +12,17 @@ let
|
|||||||
services.nginx.defaultSSLListenPort = 9443;
|
services.nginx.defaultSSLListenPort = 9443;
|
||||||
services.nginx.defaultHTTPListenPort = 9080;
|
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" ];
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user