rss stuff back on rx4
This commit is contained in:
parent
1e52acd2b8
commit
ed2f7e5773
5 changed files with 15 additions and 8 deletions
|
|
@ -17,8 +17,6 @@
|
|||
./netdata.nix
|
||||
./nginx.nix
|
||||
./radicale.nix
|
||||
./rss-bridge.nix
|
||||
./rsshub-oci.nix
|
||||
./step-ca.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,6 +77,18 @@ in
|
|||
error_log /var/log/nginx/open-webui-error.log debug;
|
||||
'';
|
||||
};
|
||||
virtualHosts."${constants.services.rss-bridge.fqdn}" = {
|
||||
enableACME = ssl;
|
||||
forceSSL = ssl;
|
||||
locations."/" = {
|
||||
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;
|
||||
};
|
||||
virtualHosts."${constants.services.vaultwarden.fqdn}" = {
|
||||
useACMEHost = "sid-internal";
|
||||
forceSSL = ssl;
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
constants,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ inputs.synix.nixosModules.rss-bridge ];
|
||||
|
||||
services.rss-bridge = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.rss-bridge;
|
||||
reverseProxy = {
|
||||
enable = true;
|
||||
subdomain = constants.services.rss-bridge.subdomain;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
outputs,
|
||||
constants,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ outputs.nixosModules.rsshub-oci ];
|
||||
|
||||
services.rsshub-oci = {
|
||||
enable = true;
|
||||
inherit (constants.services.rsshub-oci) port;
|
||||
reverseProxy = {
|
||||
enable = true;
|
||||
subdomain = constants.services.rss-bridge.subdomain;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue