From fec24c3d67cf15a00e5ea34d75c212d193779d0f Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 21 Jul 2023 20:55:56 -0400 Subject: [PATCH] Add audiobookshelf domain --- machines/tounge/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/machines/tounge/configuration.nix b/machines/tounge/configuration.nix index cd7b63f..53fec0e 100644 --- a/machines/tounge/configuration.nix +++ b/machines/tounge/configuration.nix @@ -252,6 +252,17 @@ ''; }; }; + "audiobookshelf.mccarty.io" = { + forceSSL = true; + useACMEHost = "mccarty.io"; + locations."/" = { + proxyPass = "http://100.121.150.78:13378"; + extraConfig = '' + allow 100.64.0.0/10; + deny all; + ''; + }; + }; }; }; # Now we can configure ACME so we can get a star cert