about summary refs log tree commit diff stats
path: root/config.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-05-29 17:47:49 +0200
committerAlan Pearce2024-05-29 17:47:49 +0200
commitcf38b8d92bde6dd349f286ccfff4a77db9513b50 (patch)
tree3fb6c8126bc7e17a511ab0eff4aaa6390e4c0c0a /config.toml
parent200701c1bddae4b9a854579ced35cb6aa325ad63 (diff)
downloadwebsite-cf38b8d92bde6dd349f286ccfff4a77db9513b50.tar.lz
website-cf38b8d92bde6dd349f286ccfff4a77db9513b50.tar.zst
website-cf38b8d92bde6dd349f286ccfff4a77db9513b50.zip
make Content-Security-Policy stricter
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml12
1 files changed, 9 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index 70ed9f7..9f788e5 100644
--- a/config.toml
+++ b/config.toml
@@ -18,16 +18,22 @@ oidc_host = "https://id.alanpearce.eu/"
   default-src = [
     "'none'",
   ]
+  form-action = [
+    "'none'",
+  ]
+  base-uri = [
+    "'none'",
+  ]
   image-src = [
     "'self'",
-    "http://gc.zgo.at",
+    "https://gc.zgo.at",
   ]
   script-src = [
     "'self'",
-    "http://gc.zgo.at",
+    "https://gc.zgo.at",
   ]
   style-src = [
-    "'unsafe-inline'",
+    "'sha256-+7qCR9+91EXRy0dbbyuh8KDyQUJwTewM/EPr4b/IKoE='",
   ]
   frame-ancestors = [
     "https://kagi.com",