16 lines
278 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|