nginx-module-vts icon indicating copy to clipboard operation
nginx-module-vts copied to clipboard

Illegal host header

Open linuxhub opened this issue 4 years ago • 2 comments

Illegal host header , invalid host Prometheus many invalid host metrics tag Causes too much influxDB SERIES For example,

curl http://127.0.0.1 -H 'Host: www.linuxhub.org'
curl http://127.0.0.1 -H 'Host: test'
curl http://127.0.0.1 -H 'Host: xxx'

Record a lot of invalid hosts

Instead, you can add a host filter configuration file to nginx-vts-exporter.

linuxhub avatar Oct 22 '19 10:10 linuxhub

Yes, I'm struggling with this as well but I'm unable to replicate it using these curl commands. I am seeing random upstreams in my ::nogroups though.

dkrutsko avatar Oct 28 '19 18:10 dkrutsko

@linuxhub You probably have the vhost_traffic_status_filter_by_host option enabled. Please check it.

@dkrutsko Please let me know the detailed reproducible settings.

vozlt avatar Jan 27 '21 14:01 vozlt