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

Load Balancer Cors Support

Hi,

Is there any way to handle Cors at load balancer without going to backend?

Please let me know if there is any solution to achieve.

Regards

1 1 2,337
1 REPLY 1

Hello @SinghPavan 

The GCP Load Balancer's role is to route traffic to the appropriate backends. It does not manage the CORS settings. CORS is managed at the application level of your backend so there is no way that you can set it up within the Load Balancer alone. To find out more details regarding CORS, you may refer to this documentation