diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index f2506f0..c2710e3 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -69,6 +69,7 @@ with lib; default_phone_region = "US"; trusted_domains = [ dn ]; trusted_proxies = [ "127.0.0.1" "24.255.22.143" "0.0.0.0" ]; + maintenance_window_start = 1; }; config = { dbtype = "pgsql"; diff --git a/system/shen/configuration.nix b/system/shen/configuration.nix index 6f96fb6..2ad06af 100644 --- a/system/shen/configuration.nix +++ b/system/shen/configuration.nix @@ -117,9 +117,9 @@ in security.acme = { acceptTerms = true; defaults.reloadServices = ["nginx"]; - certs."tfcconnection.org" = { - # extraDomainNames = ["*.tfcconnection.org"]; - }; + # certs."tfcconnection.org" = { + # # extraDomainNames = ["*.tfcconnection.org"]; + # }; defaults = { # dnsResolver = "1.1.1.1"; @@ -138,6 +138,11 @@ in recommendedTlsSettings = true; recommendedGzipSettings = true; recommendedOptimisation = true; + virtualHosts."tfcconnection.org" = { + forceSSL = true; + enableACME = true; + locations."/".proxyPass = "http://localhost:4242"; + }; }; # CADDY