I’m not sure what changed, but recently my WP sites on nginx stopped allowing me to preview tablet & mobile views from the editor. The live previews are displayed from the editor as an iframe which is now being blocked by the following nginx content security policy header:
`add_header Content-Security-Policy “default-src ‘self’ https: data: ‘unsafe-inline’ ‘unsafe-eval’;” always;`
​
[https://snipboard.io/CeID6d.jpg])I can configure & troubleshoot the basics with nginx, but not quite sure what to modify or replace this with to allow these previews to work again that are being sourced from the locally hosted domain.
Any suggestions are greatly appreciated.
[ad_2]