mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 23:33:56 -05:00
homelab: added freshrss
This commit is contained in:
parent
0d8451cfbc
commit
84ba7591bb
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue