Skip to content

Commit

Permalink
nginx: remove use of require-sri-for
Browse files Browse the repository at this point in the history
It is being removed from Firefox and planned to be removed from
Chromium. It seems the main reason is that it doesn't cover all
scripts/styles and therefore provide a false sense of security and may
break in the future.

See <w3c/webappsec-subresource-integrity#82>.
  • Loading branch information
vincentbernat committed Jul 5, 2019
1 parent f6c72f8 commit 8261005
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion layout/nginx.j2
Expand Up @@ -26,7 +26,6 @@ add_header "Content-Security-Policy" "{% filter striptags %}

frame-ancestors 'none';
block-all-mixed-content;
require-sri-for script style;
{% endfilter %}";

location = /nginx.conf {
Expand Down

0 comments on commit 8261005

Please sign in to comment.