From 49df755c4444b1c32d980b59c461f33d8c81a4cb Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 4 Apr 2024 13:40:20 +0200 Subject: [PATCH] homepage back up again :) --- flake.nix | 2 +- matrix.nix | 12 ++++++------ nextcloud.nix | 20 ++++++++++---------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/flake.nix b/flake.nix index 2dd0193..5a12dc0 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ ./tail.nix ./matrix.nix ./coturn.nix - # (import ./homepage.nix {inherit homepage;}) + (import ./homepage.nix {inherit homepage;}) ]; }; diff --git a/matrix.nix b/matrix.nix index cc2d4c5..05be83b 100644 --- a/matrix.nix +++ b/matrix.nix @@ -54,9 +54,9 @@ services.postgresql = { ${fqdn} = { enableACME = true; forceSSL = true; - locations."/".extraConfig = '' - return 404; - ''; + # locations."/".extraConfig = '' + # return 404; + # ''; # Forward all Matrix API calls to the synapse Matrix homeserver. A trailing slash # *must not* be used here. locations."/_matrix".proxyPass = "http://[::1]:8008"; @@ -67,9 +67,9 @@ services.postgresql = { ${domain} = { enableACME = true; forceSSL = true; - locations."/" = { - proxyPass = "http://localhost:8008"; - }; + # locations."/" = { + # proxyPass = "http://localhost:8008"; + # }; # This section is not needed if the server_name of matrix-synapse is equal to # the domain (i.e. example.org from @foo:example.org) and the federation port # is 8448. diff --git a/nextcloud.nix b/nextcloud.nix index f89c008..20916c6 100644 --- a/nextcloud.nix +++ b/nextcloud.nix @@ -66,14 +66,14 @@ in # startAt = "*-*-* 01:15:00"; # }; }; - # services.onlyoffice = { - # enable = true; - # port = 8123; - # }; - # services.nginx.virtualHosts."office.sondell.org" = { - # forceSSL = true; - # enableACME = true; - # locations."/".proxyPass = "http://localhost:8123"; - - # }; + services.onlyoffice = { + enable = true; + port = 8123; + hostname = "office.sondell.org"; + }; + services.nginx.virtualHosts."office.sondell.org" = { + forceSSL = true; + enableACME = true; + # locations."/".proxyPass = "http://12:8123"; + }; }