Content Security Policy (CSP) Guide for a WordPress site in Plesk
I have started adding SHA header for the more than 100 scripts and styles on the home page.
May I ask if you could provide a Plesk recommended way to set CSP for a WordPress website, possibly with a nonce generator, and a functions.php planting of nonce addition to all current scripts and styles.
3
votes
![](https://secure.gravatar.com/avatar/db2b949e12ad086238dfc104ce368980?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)