So here is my setup
https -> AWB ALB -> ingress-nginx -> sonarqube
The x-forwarded-proto header received at the ingress and subsequently sonarqube is http because ssl offloads at the ALB. I want to change x-forwarded-proto to https. So far I have tried
proxy_set_header X-Forwarded-Proto https;
which results in the header being appended as"x-forwarded-proto": "http, https"
which is not what I require.more_clear_input_headers "x-forwarded-proto"
in an attempt to clear the header which does not work for this and many other (works foruser-agent
though)more_set_input_headers "X-Forwarded-Proto: https"
which does not update the header value for this and many other headers but works for adding some custom headers.
I am using the kubernetes ingress-nginx
Why is it that I am unable to clear or set some headers but not all, especially the X-Forwarded-*