src

sauce
got clone ssh://anon@src.dalliard.ch/src
log | files | refs

commit 58223eb14d84a5ebde2288ffed5be43755864324
parent 67dd5b4b1bb5486218b5b7f8821573095dca34f0
author: nathanael <nathanael@dalliard.ch>
date:   Sun, 19 Oct 2025 08:03:55 +0000

s2: add cache-control header for css files

diffstat:
Ms2/sysfiles/relayd.conf | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/s2/sysfiles/relayd.conf b/s2/sysfiles/relayd.conf @@ -14,6 +14,9 @@ http protocol https { match response header set "Referrer-Policy" value "no-referrer" match response header set "Content-Security-Policy" value \ "default-src 'self'; base-uri 'none'; img-src 'self' data:; form-action 'none'; frame-ancestors 'none'" + + match request path "/*.css" tag "static" + match response tagged "static" header set "Cache-Control" value "public, max-age=31536000, immutable" } relay wwwtls4 { listen on $ipv4 port https tls