Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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.

Solved Solved
1 2 2,590
1 ACCEPTED SOLUTION

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

Have a nice day!

View solution in original post

2 REPLIES 2

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. 

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

Have a nice day!