configuration/common: Tweak nginx default vhost
This commit is contained in:
parent
2cd917d56d
commit
ac61842f29
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user