1
0

configuration/common: Tweak nginx default vhost

This commit is contained in:
clerie 2022-09-28 22:09:16 +02:00
parent 2cd917d56d
commit ac61842f29

View File

@ -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;