configuration/common: Tweak nginx default vhost
This commit is contained in:
parent
2cd917d56d
commit
ac61842f29
@ -53,11 +53,14 @@
|
|||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
|
||||||
|
appendHttpConfig = ''
|
||||||
|
server_names_hash_bucket_size 64;
|
||||||
|
'';
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"default" = {
|
"default" = {
|
||||||
default = true;
|
default = true;
|
||||||
enableACME = true;
|
rejectSSL = true;
|
||||||
addSSL = true;
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
return = ''200 "Some piece of infrastructure\n"'';
|
return = ''200 "Some piece of infrastructure\n"'';
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
@ -68,8 +71,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
clerie.akne.selfSignedOnlyHostNames = [ "default" ];
|
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
defaults.email = "letsencrypt@clerie.de";
|
defaults.email = "letsencrypt@clerie.de";
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user