Erreur with nginx seafile

hello, I would like to create a site but I have errors in my configurations.
here are my two nginx configuration files, the one on the right corresponds to my nginx configuration from the seafile container and the one on the left to the nginx container.

my containers :

when i run in a browser i get the 502 bad gateway error
do you have any idea of the problem please