diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-07-06 12:48:10 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-07-06 12:48:10 -0700 |
| commit | 85a1c2c3b145d833bd83fa441fd54c5c7f2ffbd4 (patch) | |
| tree | 6051b531876f3ef9fcc01b76a03d9440ff4599d7 /nix/machines/vm-synology/ingress.nix | |
| parent | various fixes for nix 25.05 (diff) | |
| download | infra-85a1c2c3b145d833bd83fa441fd54c5c7f2ffbd4.tar.gz | |
add secrets and configurations for cloudflared
Diffstat (limited to 'nix/machines/vm-synology/ingress.nix')
| -rw-r--r-- | nix/machines/vm-synology/ingress.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nix/machines/vm-synology/ingress.nix b/nix/machines/vm-synology/ingress.nix new file mode 100644 index 0000000..b6ae596 --- /dev/null +++ b/nix/machines/vm-synology/ingress.nix @@ -0,0 +1,16 @@ +{ config, ... }: +{ + services.cloudflared = { + enable = true; + certificateFile = config.age.secrets.cloudflared-cert.path; + tunnels = { + "cragmont" = { + credentialsFile = config.age.secrets.cloudflared-tunnel.path; + default = "http_status:404"; + ingress = { + "git.fcuny.net".service = "ssh://127.0.0.1:22"; + }; + }; + }; + }; +} |
