self signed certs

This commit is contained in:
Satria 2026-04-16 13:53:28 +07:00
commit 2f37165d19

View file

@ -4,6 +4,8 @@ let
ext4 = path: { inherit path; type = "ext4"; }; ext4 = path: { inherit path; type = "ext4"; };
btrfs = path: { inherit path; type = "btrfs"; }; btrfs = path: { inherit path; type = "btrfs"; };
selfSigned = service: { inherit service; originRequest.noTLSVerify = true; };
in { in {
flake-path = "~/Projects/nix-flake"; # set this to the cloned repo path 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/" ] [ "Dockge" "docker" "https://containers.proxy.${domain}" "http://localhost:5001/" ]
]; ];
routes = { routes = {
"cdn.${domain}" = selfSigned "https://localhost:3923";
"git.${domain}" = "http://localhost:5080"; "git.${domain}" = "http://localhost:5080";
"cdn.${domain}" = "https://localhost:3923";
"docs.${domain}" = "http://localhost:7090"; "docs.${domain}" = "http://localhost:7090";
"auth.${domain}" = "http://localhost:1411"; "auth.${domain}" = "http://localhost:1411";
"dash.${domain}" = "http://localhost:5070"; "dash.${domain}" = "http://localhost:5070";