Still getting '502 Bad Gateway' and timeouts after upgrading to 6.2.2

@Captain_Rage your problem could be here:

location / {
proxy_pass          http://127.0.0.1:8000;
    proxy_set_header    Host $host;

should be changed to

location / {
proxy_pass          http://127.0.0.1:8000;
    proxy_set_header    Host $host:8001;

Because you are listening for seafile in other port than the 80:[quote=“Captain_Rage, post:1, topic:4223”]
SERVICE_URL = https://ginger.bread.com:8001
[/quote]

A detailed explanation could be found here.

Edit: Insert also the directive proxy_http_version 1.1;
inside location / and location /seafhttp block