This content is blocked. error in block editor on self hosted docker instance

[ad_1]

Moderator
James Huff

(@macmanx)

Volunteer Moderator

That error is from Cloudflare, not WordPress.

I recommend checking with their support, maybe there’s a security rule you hit somehow.

I fixed it by adding

add_header Content-Security-Policy “default-src ‘self’ https: data: ‘unsafe-inline’ ‘unsafe-eval’; connect-src ‘self’ *.example.ca; frame-src ‘self’ https: blob:;” always;

to the nginx.conf file

  • This reply was modified 4 minutes ago by daronsong.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer