diff --git a/modules/services/default.nix b/modules/services/default.nix index 24268212..6b19bc20 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -88,9 +88,9 @@ inputs: smartd.enable = mkOption { type = types.bool; default = false; }; nginx = { + enable = mkOption { type = types.bool; default = false; }; transparentProxy = { - enable = mkOption { type = types.bool; default = false; }; externalIp = mkOption { type = types.nonEmptyStr; }; map = mkOption { type = types.attrsOf types.ints.unsigned; }; }; @@ -971,7 +971,7 @@ inputs: }; nixos.services.nginx.httpProxy.send = { - upstream = "127.0.0.1:1443"; + upstream = "http://127.0.0.1:1443"; rewriteHttps = true; }; }