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