nixos-selfhost/tunnel.nix
2024-03-24 22:37:16 +01:00

16 lines
278 B
Nix

{...}:
{
services.cloudflared = {
enable = true;
tunnels = {
"tulpan" = {
credentialsFile = "/etc/nixos/.secrets/tulpan-tunnel.json";
default = "http_status:404";
ingress = {
"*.sondell.org" = "http://localhost:80";
};
};
};
};
}