Dear all,

I use haproxy in tcp mode to have http2 working.
Now I have the problem that the backend has to know if the connection
was encrypted or not (some websites using this information to add the
schema to css and javascript URIs).

Normally I think a
reqadd X-Forwarded-Proto:\ https

should do the trick.

Will this work if working in tcp mode or are there other tricks to do this?


Thanks
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook


Reply via email to