miniflux: init

This commit is contained in:
Grisha Shipunov 2025-01-24 23:15:25 +01:00
parent 56ac9e4fd5
commit 813ab5d40c
9 changed files with 194 additions and 0 deletions

View file

@ -4,6 +4,7 @@
./auth.nix
./dav.nix
./immich.nix
./news.nix
];
networking.firewall.allowedTCPPorts = [

View file

@ -0,0 +1,17 @@
{ ... }:
{
services.nginx.virtualHosts."news.oxapentane.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://10.89.88.14:8080";
extraConfig = ''
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
'';
};
};
}