I was indeed missing the line
proxy_set_header X-Forwarded-Proto https;
It’s now working again, thanks a lot!!