derp
This commit is contained in:
parent
2730b695e7
commit
de609b4e69
4 changed files with 32 additions and 13 deletions
25
tunnel.nix
25
tunnel.nix
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue