From 2f37165d19e5f17ff355917a899ba9f55237dee4 Mon Sep 17 00:00:00 2001 From: satr14 Date: Thu, 16 Apr 2026 13:53:28 +0700 Subject: [PATCH] self signed certs --- lib/options.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/options.nix b/lib/options.nix index 24869c5..45f0188 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -4,6 +4,8 @@ let ext4 = path: { inherit path; type = "ext4"; }; btrfs = path: { inherit path; type = "btrfs"; }; + + selfSigned = service: { inherit service; originRequest.noTLSVerify = true; }; in { flake-path = "~/Projects/nix-flake"; # set this to the cloned repo path @@ -52,8 +54,8 @@ in { [ "Dockge" "docker" "https://containers.proxy.${domain}" "http://localhost:5001/" ] ]; routes = { + "cdn.${domain}" = selfSigned "https://localhost:3923"; "git.${domain}" = "http://localhost:5080"; - "cdn.${domain}" = "https://localhost:3923"; "docs.${domain}" = "http://localhost:7090"; "auth.${domain}" = "http://localhost:1411"; "dash.${domain}" = "http://localhost:5070";