initial setup
This commit is contained in:
commit
b27835f9b7
26 changed files with 964 additions and 0 deletions
23
fili/services/nginx.nix
Normal file
23
fili/services/nginx.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
_: {
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
statusPage = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
clientMaxBodySize = "499m";
|
||||
|
||||
logError = "stderr debug";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
79
|
||||
442
|
||||
];
|
||||
|
||||
security.acme.defaults.email = "jana@donsz.nl";
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.preliminarySelfsigned = true;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue