reverse proxy stuff

This commit is contained in:
mjallen18
2025-09-09 20:41:37 -05:00
parent 6567bb1348
commit f58006cf8a
14 changed files with 433 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
{ lib, namespace, ... }:
let
inherit (lib.${namespace}) mkOpt mkBoolOpt;
inherit (lib.${namespace}) mkOpt mkReverseProxyOpt;
in
with lib;
{
@@ -13,13 +13,6 @@ with lib;
dataDir = mkOpt types.str "" "Path to the data dir";
reverseProxy = {
enable = mkBoolOpt false "Enable reverse proxy support";
host = mkOpt types.str "" "Address of the proxy";
middlewares = with types; mkOpt (listOf str) [ ] "List of middlewares to use";
};
reverseProxy = mkReverseProxyOpt;
};
}