tweaks to audiobookshelf

This commit is contained in:
Chris Cochrun 2024-02-14 21:52:53 -06:00
parent 0f3c4b3e1b
commit 971321f289

View file

@ -1,16 +1,20 @@
{ pkgs, lib, config, ... }:
with lib;
let
port = "8999";
{
services.audiobookshelf = {
enable = true;
host = "0.0.0.0";
port = "8999";
port = port;
};
services.caddy.virtualHosts = {
"abs.cochrun.xyz".extraConfig = ''
reverse_proxy localhost:${services.audiobookshelf.port}
reverse_proxy localhost:${port}
'';
};
}