Custom header to parse the Referrer in the Request headers for the kubernetes ingress

Unable to parse the referrer in the request headers while the redirect to https ( frontend UI) > http (backend kubernetes ingress)

the referrer in the request headers needs to be parsed to

instead it is sending the request header as "" due to which the authentication is failing

Request headers:

InsecureSkipVerify = true
defaultEntryPoints = ["http", "https"]

format = "json"


  address = ":80"
  entryPoint = "https"
  address = ":443"
  compress = true
    minVersion = "VersionTLS12"
    cipherSuites = ["**masking the ciphers**"

attempts = 3

dialTimeout = "10s"

entryPoint = "https"
onHostRule = true
acmeLogging = true
  provider = "cloudflare"
  delayBeforeCheck = 60
main = "*.custom_domain"