trouble shooting onlyoffice webserver
This commit is contained in:
parent
a30e305920
commit
21293ebb25
@ -6,22 +6,4 @@ let
|
|||||||
{
|
{
|
||||||
services.onlyoffice = {
|
services.onlyoffice = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "${personalization.onlyoffice_url}";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.defaultSSLListenPort = 9443;
|
|
||||||
services.nginx.defaultHTTPListenPort = 9080;
|
|
||||||
|
|
||||||
security.acme = {
|
|
||||||
acceptTerms = true;
|
|
||||||
defaults.email = "cert+${personalization.caddy_email_for_zerossl}";
|
|
||||||
certs."${personalization.onlyoffice_url}" = {
|
|
||||||
webroot = "/var/lib/acme/challenges-com";
|
|
||||||
email = "cert+${personalization.caddy_email_for_zerossl}";
|
|
||||||
group = "nginx";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.nginx.extraGroups = [ "acme" ];
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user