maintenance_window_start and website config

This commit is contained in:
Chris Cochrun 2025-05-15 10:30:37 -05:00
parent f067474f1f
commit c657066086
2 changed files with 9 additions and 3 deletions

View file

@ -69,6 +69,7 @@ with lib;
default_phone_region = "US"; default_phone_region = "US";
trusted_domains = [ dn ]; trusted_domains = [ dn ];
trusted_proxies = [ "127.0.0.1" "24.255.22.143" "0.0.0.0" ]; trusted_proxies = [ "127.0.0.1" "24.255.22.143" "0.0.0.0" ];
maintenance_window_start = 1;
}; };
config = { config = {
dbtype = "pgsql"; dbtype = "pgsql";

View file

@ -117,9 +117,9 @@ in
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
defaults.reloadServices = ["nginx"]; defaults.reloadServices = ["nginx"];
certs."tfcconnection.org" = { # certs."tfcconnection.org" = {
# extraDomainNames = ["*.tfcconnection.org"]; # # extraDomainNames = ["*.tfcconnection.org"];
}; # };
defaults = { defaults = {
# dnsResolver = "1.1.1.1"; # dnsResolver = "1.1.1.1";
@ -138,6 +138,11 @@ in
recommendedTlsSettings = true; recommendedTlsSettings = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedOptimisation = true; recommendedOptimisation = true;
virtualHosts."tfcconnection.org" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:4242";
};
}; };
# CADDY # CADDY