This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/cayenne-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 394313ed3 Tweaking CSP header
394313ed3 is described below

commit 394313ed33c8944b3f27e75fb2ba68acf882a5e7
Author: Nikita Timofeev <stari...@gmail.com>
AuthorDate: Wed Apr 10 15:10:07 2024 +0400

    Tweaking CSP header
---
 .htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 915f2da8d..9fde937c0 100644
--- a/.htaccess
+++ b/.htaccess
@@ -86,7 +86,7 @@ RedirectMatch 404 /\.git
 Header set Cache-Control "max-age=2628000, public"
 </filesMatch>
 
-Header set Content-Security-Policy "img-src https://*; frame-src youtube.com 
https://www.youtube.com;";
+Header set Content-Security-Policy "default-src 'self'; script-src 'self' 
https://www.apachecon.com; img-src https://*; frame-src youtube.com 
https://www.youtube.com;";
 
 # Enable gzip compression
 <IfModule mod_deflate.c>

Reply via email to