cf tunnels
This commit is contained in:
parent
24746cc727
commit
606fa9a7da
2 changed files with 33 additions and 4 deletions
14
modules/system/homelab/tunnels.nix
Normal file
14
modules/system/homelab/tunnels.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ homelab, ... }: {
|
||||
services.cloudflared = {
|
||||
enable = true;
|
||||
tunnels.homelab = {
|
||||
credentialsFile = "/mnt/data/cloudflared/homelab.json";
|
||||
default = "http_status:404";
|
||||
ingress = {
|
||||
"git.${homelab.domain}" = "http://localhost:3000";
|
||||
"auth.${homelab.domain}" = "http://localhost:1411";
|
||||
"gallery.${homelab.domain}" = "http://localhost:2284";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue