Invalid request embedding dashboards or charts

Hi,

I made some dashboards to embed in a website based on Ghost, but I only get an invalid request with this image:
image

Also added to nginx in X-Frame-Options ALLOW-FROM the website URL

I'm running lastest version:
{
"browser-info": {
"language": "es-419",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.22+7-post-Ubuntu-0ubuntu220.04.1",
"java.vendor": "Ubuntu",
"java.vendor.url": "https://ubuntu.com/",
"java.version": "11.0.22",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.22+7-post-Ubuntu-0ubuntu220.04.1",
"os.name": "Linux",
"os.version": "5.4.0-174-generic",
"user.language": "en",
"user.timezone": "Etc/UTC"
},
"metabase-info": {
"databases": [
"h2",
"sqlserver"
],
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "2.1.214 (2022-06-13)"
},
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "2.1.214 (2022-06-13)"
}
},
"run-mode": "prod",
"version": {
"date": "2024-03-14",
"tag": "v0.49.0",
"hash": "46c668b"
},
"settings": {
"report-timezone": "UTC"
}
}
}

Solved!

Set the subdomain "Proxied" on Cloudflare, and added the ip + port to the nginx SSL config:
location / {
proxy_pass http://x.x.x.x:3000;
}