简体   繁体   中英

502 bad gateway django + gcloud

I am trying to deploy my django site to gcloud, everything upload just fine but when I follow the link I get a 502 bad gateway error. I was following the gcloud tutorial for app engine with no luck.

This is my app.yaml

runtime: python 39

resources:
 memory_gb: 4

handlers: 
 url: /static/
 static_dir: /static/

url: /.*
script: auto

I'm new to django and gcloud so any help would be greatly appreciated.

There should be no space between python and 39 :

runtime: python39

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM