add rsshub
This commit is contained in:
parent
86de57611a
commit
f8a929c13b
6 changed files with 210 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
./open-webui-oci.nix
|
||||
./print-server.nix
|
||||
./rss-bridge.nix
|
||||
./rsshub-oci.nix
|
||||
# ./webdav.nix # FIXME
|
||||
|
||||
# ./alditalk-extender.nix # FIXME
|
||||
|
|
|
|||
14
hosts/rx4/services/rsshub-oci.nix
Normal file
14
hosts/rx4/services/rsshub-oci.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
outputs,
|
||||
constants,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ outputs.nixosModules.rsshub-oci ];
|
||||
|
||||
services.rsshub-oci = {
|
||||
enable = true;
|
||||
inherit (constants.services.rsshub) port;
|
||||
};
|
||||
}
|
||||
|
|
@ -50,6 +50,11 @@ in
|
|||
proxyPass = "http://${constants.hosts.rx4.ip}";
|
||||
};
|
||||
};
|
||||
virtualHosts."${constants.services.rsshub-oci.fqdn}" = mkVirtualHost {
|
||||
inherit ssl;
|
||||
address = constants.hosts.rx4.ip;
|
||||
port = constants.services.rsshub-oci.port;
|
||||
};
|
||||
# FIXME
|
||||
# virtualHosts."print.sid.ovh" = {
|
||||
# enableACME = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue