diff --git a/modules/services/server/nextcloud.nix b/modules/services/server/nextcloud.nix index 860c038..74ff39f 100644 --- a/modules/services/server/nextcloud.nix +++ b/modules/services/server/nextcloud.nix @@ -72,9 +72,12 @@ enableACME = true; forceSSL = true; }; - "${config.services.onlyoffice.hostname}".listen = [ { - addr = "127.0.0.1"; port = 8080; - } ]; + "${config.services.onlyoffice.hostname}" = { + enableACME = true; + forceSSL = true; + listen = [ { addr = "127.0.0.1"; port = 8080; } ]; + locations."/".proxyPass = "127.0.0.1:8000"; + }; }; };