我使用“点击部署”功能在 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。