blob: 959aa3619c9dd0be2664d20fa1d80a7f9e12f066 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ ... }:
{
imports = [ ./money ./quentin ./searx ];
security.acme = {
acceptTerms = true;
email = "quentin@aristote.fr";
};
services.nginx = {
enable = true;
# return 444 when trying to connect directly through the IP address
virtualHosts."_" = {
default = true;
extraConfig = ''
return 444;
'';
};
appendHttpConfig = ''
types_hash_max_size 2048;
types_hash_bucket_size 128;
access_log /dev/null;
'';
};
}
|