github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/service-check-bad-header-2.hcl (about) 1 job "check_bad_header" { 2 type = "service" 3 4 group "group" { 5 count = 1 6 7 task "task" { 8 service { 9 tags = ["bar"] 10 port = "http" 11 12 check { 13 name = "check-name" 14 type = "http" 15 path = "/" 16 method = "POST" 17 interval = "10s" 18 timeout = "2s" 19 initial_status = "passing" 20 21 header { 22 Authorization = ["ok", 840] 23 } 24 } 25 } 26 } 27 } 28 }