Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4724

Rewriting Host tailing dots in logs

$
0
0

@mrwho wrote:

I have a haproxy 1.5.18 setup and some users came with tailing dot in hostname
for example “domain.com.”
i cut tailing dot with

http-request replace-value Host (.*). \1

it goes normal to backend servers
but in log file it’s still comes as “domain.com.”

i use

capture request header Host len 20
log-format %[capture.req.hdr(0),lower]\

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4724

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>