Can't login with github

I just followed the guide to set github login:

But failed to login:

The network request:

Just wondering if anything I’d missed?

I add port mapping in containers/app.yml as follows:

expose:
  - "20080:80"   # http
  - "20443:443" # https

And use nginx to forward the forum.xxlang.com site:

server {
     server_name forum.xxbitlang.com;
    location / {
                proxy_pass http://localhost:20080;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
    }
...
}

Is that the root course?

Add

proxy_set_header X-Forwarded-Proto https;
3 Likes