Google Apps / App Engine:裸网域的https版本不会重定向 [英] Google Apps / App Engine: https version of naked domain does not redirect
问题描述
我有以下情况:
以下网址全部有效:
然而,这个URL不会重定向,错误:
这是一个错误还是这是一个设置问题?
不直接工作,这是一个预期的行为。这被作为问题10802 进行跟踪。另外,请查看这个问题,他们在那里找到了一个解决方法来使用通过Google Apps提供的裸体域名和SSL。提出了一种替代解决方案此处。
I have the following scenario:
- Website is hosted in AppEngine and we want to force it to always load in https. (we use secure:always in app.yaml)
- Domain is managed in Google Apps. We have uploaded SNI certificate and all looks good
- In Google Apps we set the redirect of the naked domain to the www version of it
The following URLs all work:
- http:// website.com (redirects to https:// www.website.com)
- http:// www.website.com (redirects to https:// www.website.com)
- https:// www.website.com (the URL of the app)
However this URL does not redirect and gives an error:
- https:// website.com
Is this a bug or is this a settings issue?
As it is right now, SSL for naked domains does not work directly and this is an expected behavior. This is being tracked as issue 10802. Also, have a look at this question, where they found a workaround to use Naked domains and SSL through Google Apps. An alternative solution is proposed here.
这篇关于Google Apps / App Engine:裸网域的https版本不会重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!