lockfile update and hetzner radicale server.
Hetzner server will eventually have other things on it.
This commit is contained in:
parent
1d6c5082b4
commit
511b8332ed
11 changed files with 267 additions and 68 deletions
23
configs/nixos/nginx.nix
Normal file
23
configs/nixos/nginx.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
commonHttpConfig = ''
|
||||
add_header X-Clacks-Overhead "GNU Terry Pratchett";
|
||||
add_header X-Clacks-Overhead "GNU Bram Moolenaar";
|
||||
'';
|
||||
# other Nginx options
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "gabevenberg@gmail.com";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [443 80];
|
||||
}
|
|
@ -18,4 +18,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [5232];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue