diff --git a/modules/configuration.nix b/modules/configuration.nix index e91e6b4..ea8e14c 100644 --- a/modules/configuration.nix +++ b/modules/configuration.nix @@ -278,6 +278,13 @@ in tls internal ''; }; + + "https://${personalization.onlyoffice_url}" = { + extraConfig = '' + reverse_proxy http://localhost:8000 + encode gzip zstd + ''; + }; }; }; diff --git a/modules/onlyoffice.nix b/modules/onlyoffice.nix index a00f3f3..2ecefa5 100644 --- a/modules/onlyoffice.nix +++ b/modules/onlyoffice.nix @@ -6,7 +6,7 @@ let { services.onlyoffice = { enable = true; - hostname = "${personalization.onlyoffice_url}"; + #hostname = "${personalization.onlyoffice_url}"; examplePort = 8100; enableExampleServer = true;