diff --git a/nixosModules/homeLab/ociContainers/default.nix b/nixosModules/homeLab/ociContainers/default.nix index 78585a99..4c8e1a22 100644 --- a/nixosModules/homeLab/ociContainers/default.nix +++ b/nixosModules/homeLab/ociContainers/default.nix @@ -53,6 +53,18 @@ "/mnt/Archive:/Archive" ]; }; + freshrss = { + ports = [ "0.0.0.0:8080:80" ]; + image = "freshrss/freshrss:latest"; + environment = { + TZ = "America/New_York"; + CRON_MIN = "1,31"; + }; + volumes = [ + "freshrss_data:/var/www/FreshRSS/data" + "freshrss_extensions:/var/www/FreshRSS/extensions" + ]; + }; }; }; -} +} \ No newline at end of file diff --git a/nixosModules/homeLab/reverseProxy/default.nix b/nixosModules/homeLab/reverseProxy/default.nix index 74dd3d34..3f750bc0 100644 --- a/nixosModules/homeLab/reverseProxy/default.nix +++ b/nixosModules/homeLab/reverseProxy/default.nix @@ -22,6 +22,7 @@ 127.0.0.1 nixcache.raffauflabs.com 127.0.0.1 plex.raffauflabs.com 127.0.0.1 podcasts.raffauflabs.com + 127.0.0.1 news.raffauflabs.com ''; }; @@ -47,6 +48,22 @@ }; }; + virtualHosts."news.raffauflabs.com" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:8080"; + proxyWebsockets = true; # needed if you need to use WebSocket + extraConfig = '' + proxy_buffering off; + proxy_redirect off; + # Forward the Authorization header for the Google Reader API. + proxy_set_header Authorization $http_authorization; + proxy_pass_header Authorization; + ''; + }; + }; + virtualHosts."nixcache.raffauflabs.com" = { enableACME = true; forceSSL = true;