blob: 1c29ff20f222d7a244a352c1f4fbd4b5833536c9 (
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
|
{ ... }:
{
imports = [ ./money ./quentin ./rss ./searx ];
security.acme = {
acceptTerms = true;
defaults.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_bucket_size 128;
access_log /dev/null;
'';
};
}
|