diff --git a/configuration/common/default.nix b/configuration/common/default.nix index bb2ebbf..0f907c0 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -53,11 +53,14 @@ recommendedProxySettings = true; recommendedTlsSettings = true; + appendHttpConfig = '' + server_names_hash_bucket_size 64; + ''; + virtualHosts = { "default" = { default = true; - enableACME = true; - addSSL = true; + rejectSSL = true; locations."/" = { return = ''200 "Some piece of infrastructure\n"''; extraConfig = '' @@ -68,8 +71,6 @@ }; }; - clerie.akne.selfSignedOnlyHostNames = [ "default" ]; - security.acme = { defaults.email = "letsencrypt@clerie.de"; acceptTerms = true;