mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Add new file
This commit is contained in:
parent
e980fdd22c
commit
bf85e8334d
1 changed files with 24 additions and 0 deletions
24
homelab/cloudflared/default.nix
Normal file
24
homelab/cloudflared/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
GNU nano 8.0 /etc/nixos/cloudflared.nix
|
||||||
|
{ lib, pkgs, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
cloudflared = {
|
||||||
|
enable = true;
|
||||||
|
tunnels = {
|
||||||
|
"{{Tunnel UUID}}" = {
|
||||||
|
credentialsFile = "{{UUID.json}}";
|
||||||
|
default = "http_status:404";
|
||||||
|
ingress = {
|
||||||
|
"ahoneybun.net" = "http://localhost:8082";
|
||||||
|
"www.ahoneybun.net" = "http://localhost:8082";
|
||||||
|
"photo.macabremusings.xyz" = "http://localhost:2342";
|
||||||
|
"git.macabremusings.xyz" = "http://localhost:3001";
|
||||||
|
"book.macabremusings.xyz" = "http://localhost:5000";
|
||||||
|
"video.macabremusings.xyz" = "http://localhost:8096";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue