Hello @sivy,
I had the same problem.
Using :
Cloudflare with https rule for forcing https, Nginx mainline version has proxy_passSolved by changing on Nginx configuration proxy_pass :
proxy_set_header X-Forwarded-Proto $scheme;To
proxy_set_header X-Forwarded-Proto https;Don't understand why it suddently worked with this 🤣