miniflux: init
This commit is contained in:
parent
56ac9e4fd5
commit
813ab5d40c
9 changed files with 194 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
./auth.nix
|
||||
./dav.nix
|
||||
./immich.nix
|
||||
./news.nix
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
|
|
17
hosts/cloud/proxy/news.nix
Normal file
17
hosts/cloud/proxy/news.nix
Normal 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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue