Your Cart

Get Amazing Offers on Scripts

Get UX Support

How to fix "iframe refused to connect" issue on an Nginx server?

How to fix “iframe refused to connect” issue on an Nginx server?

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.

  1. 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
Leave a Reply
Free Worldwide shipping

On all orders above $50

Easy 30 days returns

30 days money back guarantee

International Warranty

Offered in the country of usage

100% Secure Checkout

PayPal / MasterCard / Visa