Embedded CSS broken after CF proxy

I have simple HTML website with embedded CSS style tag. Locally it all works fine, but after deployment and proxied on CF, CSS styles are never applied to elements. How can I disable CF minification or prevent that from happening?
3 Replies
hitimsky
hitimskyOP2mo ago
CSP Allow Inline Styles
Create a CSP Policy that allows execution of inline styles.
George Clasher
George Clasher2mo ago
CF = cloudflare right?
hitimsky
hitimskyOP2mo ago
yes My server sets CSP rule but CF seams to be adding it's more restricted one on top of that. How to disable it? It looks like not CF is to blame but my nginx was adding strict CSP header. Case closed

Did you find this page helpful?