Latest
This commit is contained in:
parent
8082a62378
commit
671dda4f70
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue