mirror of https://gitlab.crans.org/nounous/nixos
32 lines
561 B
Nix
32 lines
561 B
Nix
{ config, ... }:
|
|
{
|
|
name = "livre";
|
|
description = "Editeur de PDF en ligne via Stirling-PDF";
|
|
id = 140;
|
|
|
|
enable = true;
|
|
|
|
networking = {
|
|
srv-nat.enable = true;
|
|
};
|
|
|
|
reverseproxy.vhosts = {
|
|
"pdf" = {
|
|
proxyPass = config.networking.adm.ipv4.address;
|
|
aliases = [
|
|
"livre"
|
|
"stirling"
|
|
"stirling-pdf"
|
|
];
|
|
};
|
|
};
|
|
|
|
monitoring = {
|
|
nginx.enable = true;
|
|
};
|
|
|
|
publicSsh = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEVfKNokHG6ig32hhQxTep+fKFmKahlDClPrX/dP4/gb root@livre";
|
|
|
|
resticClient.when = "03:45";
|
|
}
|