From 7d8bc4509040e127ec7e98b5cbf93dc0a2e86831 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Tue, 4 Apr 2023 13:12:34 -0700 Subject: [PATCH] Move blocky custom mappings above catchall --- core/blocky/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/blocky/config.yml b/core/blocky/config.yml index 88b9057..bcdd335 100644 --- a/core/blocky/config.yml +++ b/core/blocky/config.yml @@ -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