Nginx: access $upstream_http header in the mirror block
My mirroring works just fine, and I am correctly getting the original request body in the mirror server. However I need to access a response header called Location from the original upstream and forward it to my mirror. Typically the…