update

Ryan Gibb a6fee824 7742afb6

Changed files
+24
hosts
elephant
owl
+19
hosts/elephant/services.nix
···
"owntracks.vpn.freumh.org"
"immich.vpn.freumh.org"
"calibre.freumh.org"
+
"audiobookshelf.vpn.freumh.org"
];
};
···
proxy_busy_buffers_size 256k;
'';
};
+
};
+
"audiobookshelf.vpn.freumh.org" = {
+
onlySSL = true;
+
listenAddresses = [ "100.64.0.9" ];
+
locations."/" = {
+
proxyPass = ''
+
http://localhost:${builtins.toString config.services.audiobookshelf.port}
+
'';
+
proxyWebsockets = true;
+
};
};
};
};
···
host = "100.64.0.9";
mediaLocation = "/tank/immich";
};
+
+
services.audiobookshelf = {
+
enable = true;
+
port = 8001;
+
};
+
users.users.${config.services.audiobookshelf.user}.extraGroups = [
+
config.services.readarr.user
+
];
services.fail2ban = {
enable = true;
+5
hosts/owl/default.nix
···
type = "A";
value = "100.64.0.9";
}
+
{
+
name = "audiobookshelf.vpn.${config.networking.domain}.";
+
type = "A";
+
value = "100.64.0.9";
+
}
];
in
{