Google Apps / App Engine:裸网域的https版本不会重定向 [英] Google Apps / App Engine: https version of naked domain does not redirect

查看:109
本文介绍了Google Apps / App Engine:裸网域的https版本不会重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下情况:


  • 网站位于AppEngine中,我们希望强制它始终以https加载。 (我们使用安全:始终在app.yaml中)

  • 域名在Google Apps中管理。我们已上传SNI证书,并且所有内容都很好

  • 在Google Apps中,我们将裸域的重定向设置为它的www版本。



以下网址全部有效:


  • http:// website.com(重定向到https: //www.website.com)

  • http:// www.website.com(重定向至https:// www.website.com)

  • https:// www.website.com(应用程序的URL)



然而,这个URL不会重定向,错误:


  • https:// website.com



这是一个错误还是这是一个设置问题?

解决方案

不直接工作,这是一个预期的行为。这被作为问题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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆