mirror of https://gitlab.crans.org/nounous/nixos
30 lines
453 B
Nix
30 lines
453 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;
|
|
};
|
|
|
|
resticClient.when = "03:45";
|
|
}
|