This commit is contained in:
Brian Zalewski 2024-05-18 07:04:28 +00:00
parent 8082a62378
commit 671dda4f70

View file

@ -1,22 +1,21 @@
{{- $hostname := (output "echo" .host.hostname "|" "tr" "'[:upper:]'" "'[:lower:]'") -}}
--- ---
tunnel: {{ if eq .host.qubes true }}qube{{ else }}host{{ end }}-{{ $hostname }} tunnel: {{ if eq .host.qubes true }}qube{{ else }}host{{ end }}-{{ .host.hostname | lower }}
credentials-file: /usr/local/etc/cloudflared/credentials.json credentials-file: /usr/local/etc/cloudflared/credentials.json
warp-routing: warp-routing:
enabled: true enabled: true
ingress: ingress:
- hostname: test-{{ $hostname }}.{{ .host.domain }} - hostname: test-{{ .host.hostname | lower }}.{{ .host.domain | lower }}
service: hello_world service: hello_world
- hostname: ssh-{{ $hostname }}.{{ .host.domain }} - hostname: ssh-{{ .host.hostname | lower }}.{{ .host.domain | lower }}
service: ssh://localhost:{{ .host.ssh.port }} service: ssh://localhost:{{ .host.ssh.port }}
- hostname: netdata-{{ $hostname }}.{{ .host.domain }} - hostname: netdata-{{ .host.hostname | lower }}.{{ .host.domain | lower }}
service: http://localhost:19999 service: http://localhost:19999
- service: http_status:404 - service: http_status:404
# - hostname: {{ .host.domain }} # - hostname: {{ .host.domain }}
# service: https://localhost:8014 # service: https://localhost:8014
# - hostname: rdp-{{ $hostname }}.{{ .host.domain }} # - hostname: rdp-{{ .host.hostname }}.{{ .host.domain }}
# service: rdp://localhost:3389 # service: rdp://localhost:3389
# - hostname: samba.{{ .host.domain }} # - hostname: samba.{{ .host.domain }}
# service: tcp://localhost:8445 # service: tcp://localhost:8445