You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@attic.apache.org by se...@apache.org on 2025/01/13 17:55:43 UTC
(attic-docker) 02/02: Easier to read
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic-docker.git
commit 83b7c817a0d6e25d68128293eb74e3fa0eb54a54
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jan 13 17:55:34 2025 +0000
Easier to read
---
config/000-default.conf | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/config/000-default.conf b/config/000-default.conf
index b613a18..ed9d4f3 100644
--- a/config/000-default.conf
+++ b/config/000-default.conf
@@ -8,7 +8,11 @@
LuaCodeCache stat
<If "-d '/var/www/_CSP'">
- Header set Content-Security-Policy "default-src 'self' data: 'unsafe-inline' https://www.apachecon.com/ https://www.communityovercode.org/ https://analytics.apache.org/; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org/; style-src 'self' 'unsafe-inline'; frame-ancestors 'none'; img-src 'self' https://www.apache.org/;"
+ Header set Content-Security-Policy "default-src 'self' \
+ data: 'unsafe-inline' https://www.apachecon.com/ https://www.communityovercode.org/ https://analytics.apache.org/; \
+ script-src 'self' 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org/; \
+ style-src 'self' 'unsafe-inline'; frame-ancestors 'none'; \
+ img-src 'self' https://www.apache.org/;"
</If>
# Filter website to add Attic header if marker directory is present