Lemon
Lemon

Reputation: 97

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.

Upvotes: 0

Views: 115

Answers (1)

DazWilkin
DazWilkin

Reputation: 40051

There should be no space between python and 39:

runtime: python39

Upvotes: 1

Related Questions