502 for all static assets

I have deployed my next website to Cloudflare pages. My actual domain is proxied to that page but for some reason I am getting 502 on all js/css and image files.
If I directly access the page, it works fine but when I try to access from my actual domain no asset is loaded.

Please help.


Is there a specific asset that is 502ing?
I don’t see any, and your web page seems to load fine for me, both on the custom domain and the pages.dev domain

1 Like

It is working now after switching the SSL/TLS mode from flexible to full encryption.

1 Like