mirror of https://gitlab.crans.org/nounous/nixos
27 lines
496 B
Nix
27 lines
496 B
Nix
{
|
|
name = "reverseproxy";
|
|
description = "reverse-proxy principale du Crans";
|
|
id = 151;
|
|
|
|
enable = true;
|
|
|
|
networking = {
|
|
srv-nat.enable = true;
|
|
srv = {
|
|
enable = true;
|
|
interface = "ens20";
|
|
ipv4.address = "185.230.79.42";
|
|
};
|
|
};
|
|
|
|
services.acme.enable = true;
|
|
|
|
monitoring = {
|
|
nginx.enable = true;
|
|
};
|
|
|
|
publicSsh = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOx/lUQE6naP3EBy81sr93X8ktZmivU09ACx6T43Odhb root@reverseproxy";
|
|
|
|
resticClient.when = "03:42";
|
|
}
|