Add strict CSP to getfedora.org
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
6842ba7df8
commit
8e6a2b55c9
2 changed files with 2 additions and 0 deletions
1
roles/fedora-web/getfedora/files/csp.conf
Normal file
1
roles/fedora-web/getfedora/files/csp.conf
Normal file
|
@ -0,0 +1 @@
|
|||
Header always set Content-Security-Policy "default-src 'none'; img-src 'self' https://fedoramagazine.org; script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src https://fedoramagazine.org; "
|
|
@ -11,6 +11,7 @@
|
|||
with_items:
|
||||
- getfedora.org.conf
|
||||
- languages.conf
|
||||
- csp.conf
|
||||
notify:
|
||||
- reload proxyhttpd
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue