From 350cd5ffd0448a71a6aa0b2032279f468ee0b035 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 14 Jun 2023 12:16:30 -0700 Subject: [PATCH] trouble shooting onlyoffice webserver --- modules/configuration.nix | 7 +++++++ modules/onlyoffice.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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;