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