Move blocky custom mappings above catchall
This commit is contained in:
parent
87d97ac891
commit
7d8bc45090
@ -84,6 +84,8 @@ blocking:
|
|||||||
customDNS:
|
customDNS:
|
||||||
customTTL: 1h
|
customTTL: 1h
|
||||||
mapping:
|
mapping:
|
||||||
|
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }}
|
||||||
|
# Catch all at top domain to traefik
|
||||||
{{ with nomadService "traefik" -}}
|
{{ with nomadService "traefik" -}}
|
||||||
{{- $last := len . | subtract 1 -}}
|
{{- $last := len . | subtract 1 -}}
|
||||||
{{- $services := . -}}
|
{{- $services := . -}}
|
||||||
@ -92,8 +94,6 @@ customDNS:
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with index . $last }}{{ .Address }}{{ end -}}
|
{{- with index . $last }}{{ .Address }}{{ end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# Other mappings
|
|
||||||
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }}
|
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
enable: true
|
enable: true
|
||||||
|
Loading…
Reference in New Issue
Block a user