summary refs log tree commit diff stats
path: root/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index c3377d5..d2a22ad 100644
--- a/config.toml
+++ b/config.toml
@@ -25,6 +25,12 @@ hide_made_with_line = true
 date_format = "%F"
 webserver_sends_csp_headers = true
 
+[extra.headers]
+cache-control = "max-age=14400"
+x-content-type-options = "nosniff"
+strict-transport-security = "max-age=31536000; includeSubdomains; preload"
+content-security-policy = "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'unsafe-inline'; form-action 'none'; base-uri 'self'"
+
 [[extra.main_menu]]
     name = "Posts"
     url = "/post/"