Hi,
Can someone give an example of how to use http_service.checks.headers?
Thanks
Nevermind… just figured it out… Issue was that I was using [[ instead of just [ for the section. Just in case anyone else needs this…
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[[http_service.checks]]
grace_period = "3s"
interval = "30s"
method = "GET"
timeout = "2s"
path = "/healthz"
[http_service.checks.headers]
My-Header = "header value"
From How To to Questions / Help
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.