I'm trying to show Magento 2 inside an iframe. It was possible in Magento 1, as explained in this guide.
Is it possible to use Magento 2 settings to allow showing it from iframe?
My current workaround:
cp /var/www/magento/app/etc/env{,_backup}.php
grep -v SAMEORIGIN /var/www/magento/app/etc/env_backup.php > /var/www/magento/app/etc/env.php