nixos-selfhost/tunnel.nix

17 lines
310 B
Nix
Raw Normal View History

2024-03-24 22:37:16 +01:00
{...}:
{
2024-03-24 22:51:46 +01:00
services.nginx.enable = true;
2024-03-24 22:37:16 +01:00
services.cloudflared = {
enable = true;
tunnels = {
"tulpan" = {
credentialsFile = "/etc/nixos/.secrets/tulpan-tunnel.json";
default = "http_status:404";
ingress = {
"*.sondell.org" = "http://localhost:80";
};
};
};
};
}