0

我使用“点击部署”功能在 Google Cloud Platform 中安装了 WordPress。

但我需要我的网站使用 HTTPS。因此,我通过 Let's encrypt 获得了证书,并按照https://cloud.google.com/appengine/docs/standard/python/console/using-custom-domains-and-ssl中的说明进行了安装。所有过程都成功,但是当我尝试通过 HTTPS 使用我的网站时,我收到错误“该网站拒绝连接”。

这个页面https://cloud.google.com/solutions/connecting-securely说一个选项是使用负载平衡,但我相信我不需要那个。

我未成功应用此其他说明:

  • www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress
  • www.elegantthemes.com/blog/tips-tricks/how-to-install-wordpress-on-google-cloud-and-why-thats-awesome
  • stackoverflow.com/questions/30075971/google-cloud-platform-cannot-get-https-ssl-working-on-wordpress-instance

我的网站可以正常使用 HTTP。

4

1 回答 1

0

我用这个视频解决了我的问题:https ://www.youtube.com/watch?v=7kLvD2mlmlk

不同之处在于我必须上传我的 crt 和 Let's encrypt 生成的密钥文件。

这对我来说非常困难,因为我不熟悉 linux。

问候。

于 2017-05-06T16:19:16.003 回答