Cannot access dashboard via Nginx reverse proxy

Hi,
inside my home LAN i have a server with nginx installed, this server is configured to serve a two factor authentication login used to access all my private webapps

I’m trying to do the same thing with the dashboard of my Wd mycloud EX2 but looks like the reverse proxy is not working, the dashboard after login just tells me “Login Timeout”

Here’s the nginx config:

upstream wdmycloud {
	server xx.xx.xx.xx:80;
}
server {
	server_name wdmycloud.myhost.eu;

	include /etc/nginx/authelia/authelia.conf;

	location / {
		proxy_buffering off;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection $http_connection;
		proxy_pass http://wdmycloud/;
		include /etc/nginx/authelia/auth.conf;
		include /etc/nginx/authelia/proxy.conf;
	}

	listen 443 ssl; # managed by Certbot
	ssl_certificate /etc/letsencrypt/live/wdmycloud.myhost.eu/fullchain.pem; # managed by Certbot
	ssl_certificate_key /etc/letsencrypt/live/wdmycloud.myhost.eu/privkey.pem; # managed by Certbot
	include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
	ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
	if ($host = wdmycloud.myhost.eu) {
	return 301 https://$host$request_uri;
	} # managed by Certbot


	listen 80;
	server_name wdmycloud.myhost.eu;
	return 404; # managed by Certbot


}

What is wrong with this configuration? Why am i getting this login timeout?
Thanks