Skip to content
Snippets Groups Projects
Commit 869ad09c authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Prometheus specifies the port in the request

parent f418e811
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,7 @@ mode http ...@@ -44,6 +44,7 @@ mode http
{{end}} {{end}}
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }} {{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
use_backend {{ $host}} if { hdr(host) -i {{ $host }} } use_backend {{ $host}} if { hdr(host) -i {{ $host }} }
use_backend {{ $host}} if { hdr(host) -i {{ $host }}:443 }
{{end}} {{end}}
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }} {{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment