Google load balancer force https

一世执手 提交于 2019-12-20 02:55:09

问题


I not sure if this is possible (it wasn't last year according to the internet), but i'm hoping its available now.

Is there any way of using google load balancer to force https connection only, ie. get the load balancer to redirect http requests?

I can do it at the backend server, but i would rather have this handled by the load balancer.

Thanks in advance,

Max


回答1:


I think not. As far as I know, forcing HTTPS is not a managed feature of Google Cloud Load Balancer. It will not redirect HTTP to HTTPS for you. You can either drop the support of HTTP, or do the redirection in the backend. But it's would be a nice feature if they have.

See https://cloud.google.com/compute/docs/load-balancing/http/



来源:https://stackoverflow.com/questions/39389906/google-load-balancer-force-https

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!