Move blocky custom mappings above catchall

This commit is contained in:
IamTheFij 2023-04-04 13:12:34 -07:00
parent 87d97ac891
commit 7d8bc45090
1 changed files with 2 additions and 2 deletions

View File

@ -84,6 +84,8 @@ blocking:
customDNS:
customTTL: 1h
mapping:
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }}
# Catch all at top domain to traefik
{{ with nomadService "traefik" -}}
{{- $last := len . | subtract 1 -}}
{{- $services := . -}}
@ -92,8 +94,6 @@ customDNS:
{{- end -}}
{{- with index . $last }}{{ .Address }}{{ end -}}
{{- end }}
# Other mappings
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }}
prometheus:
enable: true