This commit is contained in:
admin 2024-03-25 00:18:55 +01:00
parent 2730b695e7
commit de609b4e69
4 changed files with 32 additions and 13 deletions

View file

@ -1,16 +1,19 @@
{...}:
{
services.nginx.enable = true;
services.cloudflared = {
enable = true;
tunnels = {
"tulpan" = {
credentialsFile = "/etc/nixos/.secrets/tulpan-tunnel.json";
default = "http_status:404";
ingress = {
"*.sondell.org" = "http://localhost:80";
services.nginx = {
enable = true;
clientMaxBodySize = "10g";
};
services.cloudflared = {
enable = true;
tunnels = {
"tulpan" = {
credentialsFile = "/etc/nixos/.secrets/tulpan-tunnel.json";
default = "http_status:404";
ingress = {
"*.sondell.org" = "http://localhost:80";
};
};
};
};
};
};
}