reverse proxy stuff
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user