How to permanently redirect `http://` and `www.` URLs to `https://`?

后端 未结 6 1143
粉色の甜心
粉色の甜心 2020-12-24 11:34

I have a Google App Engine project. On this project I have setup a custom domain and an SSL certificate. Therefore, I can use https://www.mysite.xxx, http

6条回答
  •  时光说笑
    2020-12-24 12:23

    For the sake of completeness. The Java way is to set the transport guarantee to confidential like this.

    
      
        profile
        /profile/*
      
      
        CONFIDENTIAL
      
    
    

    You can also find this here in the documentation.

提交回复
热议问题