Skip to content

Commit

Permalink
fix(nuxt): improve csp
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Dec 8, 2021
1 parent 11ad50b commit e987e06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ http {
base-uri 'none';
connect-src 'self' https://api.github.com/users/dargmuesli/repos https://www.google-analytics.com;
default-src 'none';
prefetch-src 'self';
font-src 'none';
form-action 'none';
frame-ancestors 'none';
Expand All @@ -49,7 +50,7 @@ http {
manifest-src 'self';
media-src 'self';
object-src 'none';
script-src 'self' https://static.cloudflareinsights.com/beacon.min.js https://www.google-analytics.com/analytics.js;
script-src 'self' https://static.cloudflareinsights.com https://www.google-analytics.com/analytics.js;
style-src 'self';
report-uri https://dargmuesli.report-uri.com/r/d/csp/enforce;
";
Expand Down

0 comments on commit e987e06

Please sign in to comment.