The CloudflareD commit. To be undone immediately

This commit is contained in:
Jimbo 2024-09-05 00:43:31 -04:00
parent 284e2cad5b
commit fba04cf0a1
3 changed files with 17 additions and 1 deletions

View file

@ -20,7 +20,7 @@
# Services # Services
./services/openssh.nix ./services/openssh.nix
./server/acme.nix ./server/acme.nix
./server/ddclient.nix ./server/cloudflared.nix
./server/docker.nix ./server/docker.nix
./server/firewall.nix ./server/firewall.nix
./server/gitea.nix ./server/gitea.nix

View file

@ -0,0 +1,16 @@
{pkgs, outputs, ...}: {
services.cloudflared = {
enable = true;
tunnels = {
"${outputs.secrets.flareTunnelName}" = {
credentialsFile = "${pkgs.writeText "credentials" outputs.secrets.flareTunnelApi}";
default = "http_status:404";
ingress = {
"*.${outputs.secrets.jimDomain}" = {
service = "https://localhost:443";
};
};
};
};
};
}

Binary file not shown.