To address the “iframe refused to connect” issue on an Nginx server, you need to configure Nginx to allow embedding your site within an iframe. This involves setting appropriate HTTP headers in your Nginx configuration.
- Use below code in .conf Ngnix file
location / {
proxy_set_header X-Forwarded-Proto https;
proxy_hide_header X-Frame-Options;
add_header X-Frame-Options "ALLOWALL";
}
Now restart NGNIX
Still facing Issues ?
Contact me for paid support​ Mail me @ tutorialslides.com@gmail.com
Paid Support