miniflux
This commit is contained in:
parent
a385cb036e
commit
a5044d4731
1
data.nix
1
data.nix
|
@ -176,6 +176,7 @@ rec {
|
|||
dl A ${vno1}
|
||||
fra1-a A ${fra1a}
|
||||
vno1 A ${vno1}
|
||||
rss A ${hosts."vno1-oh2.servers.jakst".jakstIP}
|
||||
|
||||
@ TXT google-site-verification=sU99fmO8gEJF-0lbOY-IzkovC6MXsP3Gozqrs8BR5OM
|
||||
@ TXT hosted-email-verify=rvyd6h64
|
||||
|
|
|
@ -250,6 +250,17 @@
|
|||
};
|
||||
|
||||
services = {
|
||||
miniflux = {
|
||||
enable = true;
|
||||
config = {
|
||||
LISTEN_ADDR = "localhost:9010";
|
||||
};
|
||||
adminCredentialsFile = pkgs.writeText "miniflux-creds" ''
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=adminadmin
|
||||
'';
|
||||
};
|
||||
|
||||
caddy = {
|
||||
enable = true;
|
||||
email = "motiejus+acme@jakstys.lt";
|
||||
|
@ -265,6 +276,11 @@
|
|||
reverse_proxy 127.0.0.1:8123
|
||||
tls {$CREDENTIALS_DIRECTORY}/hass.jakstys.lt-cert.pem {$CREDENTIALS_DIRECTORY}/hass.jakstys.lt-key.pem
|
||||
'';
|
||||
"rss.jakstys.lt:80".extraConfig = ''
|
||||
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
||||
abort @denied
|
||||
reverse_proxy 127.0.0.1:9010
|
||||
'';
|
||||
"beta.jakstys.lt".extraConfig = ''
|
||||
handle /.well-known/carddav {
|
||||
redir https://cdav.migadu.com/
|
||||
|
|
Loading…
Reference in New Issue