Clean blocky config for latest version

This commit is contained in:
IamTheFij 2023-03-27 15:21:35 -07:00
parent c7f85bd985
commit c38ba8589a

View File

@ -1,7 +1,10 @@
ports:
dns: 53
http: 4000
bootstrapDns: bootstrapDns:
ips: - upstream: 1.1.1.1
- 1.1.1.1 - upstream: 1.0.0.1
- 1.0.0.1
upstream: upstream:
default: default:
@ -88,7 +91,7 @@ customDNS:
{{- with index $services $i }}{{ .Address }},{{ end -}} {{- with index $services $i }}{{ .Address }},{{ end -}}
{{- end -}} {{- end -}}
{{- with index . $last }}{{ .Address }}{{ end -}} {{- with index . $last }}{{ .Address }}{{ end -}}
{{- end }} {{- end }}
# Other mappings # Other mappings
{{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }} {{ with nomadVar "nomad/jobs/blocky" }}{{ .mappings.Value | indent 4 }}{{ end }}
@ -114,6 +117,3 @@ queryLog:
target: {{ .db_user }}:{{ .db_pass }}@tcp({{ $mysql_addr }})/{{ .db_name }}?charset=utf8mb4&parseTime=True&loc=Local target: {{ .db_user }}:{{ .db_pass }}@tcp({{ $mysql_addr }})/{{ .db_name }}?charset=utf8mb4&parseTime=True&loc=Local
logRetentionDays: 14 logRetentionDays: 14
{{ end -}} {{ end -}}
port: 53
httpPort: 4000