问题描述
我正在尝试将我的 django 站点部署到 gcloud,一切都上传得很好,但是当我点击链接时,我收到了 502 错误网关错误。我一直在关注应用引擎的 gcloud 教程,但没有走运。
这是我的 app.yaml
runtime: python 39
resources:
memory_gb: 4
handlers:
url: /static/
static_dir: /static/
url: /.*
script: auto
我是 django 和 gcloud 的新手,因此不胜感激。
解决方法
python
和 39
之间不应有空格:
runtime: python39