The CloudflareD commit. To be undone immediately
This commit is contained in:
parent
284e2cad5b
commit
fba04cf0a1
|
@ -20,7 +20,7 @@
|
|||
# Services
|
||||
./services/openssh.nix
|
||||
./server/acme.nix
|
||||
./server/ddclient.nix
|
||||
./server/cloudflared.nix
|
||||
./server/docker.nix
|
||||
./server/firewall.nix
|
||||
./server/gitea.nix
|
||||
|
|
16
nixos/server/cloudflared.nix
Normal file
16
nixos/server/cloudflared.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
BIN
secrets.nix
BIN
secrets.nix
Binary file not shown.
Loading…
Reference in a new issue