Does combine "transparent" and "header_upstream" safe for "proxy" directive?

Does header_upstream break transparent ? In other words, will header_upstream Host, header_upstream X-Forwarded-For, header_upstream X-Forwarded-Port and header_upstream X-Forwarded-Proto still works as no header_upstream X-Real-IP {>CF-Connecting-IP} ?

xxx.com {
    proxy /abc backend {
        transparent
        header_upstream X-Real-IP {>CF-Connecting-IP}
    }
}

Adding header_upstream won’t interfere with the transparent preset; both will work.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.