Reverse proxy nginx not working with subdomain

Hello,

I use reverse proxy to access the webflow site, however I access webflow directly. It worked, however there was ‘badge: Made in Webflow’ shown on my site. I have asked support, and I get info that:

  1. I need to create subdomain, add CNAME record to > proxy-ssl.webflow.com,
  2. I have configured this subdomain as default domain in my webflow project.

After steps above, my site is working on my subdomain. However, if I set up proxy_pass from my nginx server to this subdomain I get an 502 error. Is there any additional configuration which I need to perform?