Pivotal CloudFoundry: Enforcing HTTPS (SSL)

后端 未结 3 696
萌比男神i
萌比男神i 2021-01-07 03:24

I want to enforce HTTPS for a Spring Boot application to be hosted at Pivotal CloudFoundry, and I think most of the applications would want this today. The common way of doi

3条回答
  •  清酒与你
    2021-01-07 03:59

    Requests forwarded by the load balancer will have an http header called x-forwarded-proto set to https or http. You can use this to affect the behavior of your application with regard to SSL termination.

提交回复
热议问题