Hello,
I run Nginx and i have the following error:
Your site has exceeded the maximum size for HTTP headers. To prevent issues, the Content Security Policy won’t be added to your HTTP headers.
How can i increase this limit? Thank you
Hello,
I run Nginx and i have the following error:
Your site has exceeded the maximum size for HTTP headers. To prevent issues, the Content Security Policy won’t be added to your HTTP headers.
How can i increase this limit? Thank you
You should be able to split the value in two
In case you need an example:
set $CSP1 "default-src 'self' "https://..... ";
set $CSP2 " https://.... https://.....";
add_header Content-Security-Policy "${CSP1}${CSP2}";
Where, more exactly should i make this setting?
The error appears in Really simple ssl plugin from wordpress!
Thanks!
Perhaps I’ve misunderstood the topic here, I thought your question was related to Nginx where you can add a CSP header in the configuration instead of using a WordPress plugin