6
我使用Python在Google App Engine上編寫Web應用程序。 // [youraccount] .appspot.com訪問和HTTPS:// [youraccount] .appspot.com的如何強制Google App Engine [python]使用SSL(https)?
如何重定向HTTP
用戶可以在HTTP訪問我的網站流量到https網站。
換句話說,如何強制該網站使用SSL(https)
爲安全目的(以及更好的搜索引擎優化)?
值得注意的是,默認響應代碼是'302',您可以使用'redirect_http_response_code:301'參數更改響應代碼。 – 2017-10-29 16:25:10