HTTPS response headers for Cloud Load Balancer redirects

Hi,

I posted on this issue in the bug tracker about not being able to serve HTTPS response headers from redirects in Cloud Load Balancer. However, I never heard back from Google.

Is it still not possible to do what I’m looking for? As a workaround I can stand up a server to serve my redirects and add the headers there, but that defeats the purpose of having the feature in Cloud Load Balancer.

Thank you.

1 Like

Hello Taylor, custom headers are set per backend service but redirects are defined in the URL map. The order of components is: forwarding rule, target proxy, URL map, backend service. This means that no backend service is chosen to handle custom headers when using redirects. Your observation is working as designed, a feature request to add support for custom headers with redirects sounds like the right way to move forward.

1 Like

Thank you for your guidance and quick reply! I filed my feature request here.

Have a nice day!

1 Like