From ab88303dc159162ed15352855587f47c8def0352 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:54:49 -0700 Subject: Say cgit pages carry no expiry, not no headers Behind an auth filter every page carries Cache-Control: private and the login page no-store, so only the missing expiry holds on every site. --- custom/servers/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom/servers/nginx.conf') diff --git a/custom/servers/nginx.conf b/custom/servers/nginx.conf index 7c2edbe..7f09682 100644 --- a/custom/servers/nginx.conf +++ b/custom/servers/nginx.conf @@ -279,7 +279,7 @@ http { fastcgi_read_timeout 300s; fastcgi_buffering off; - # Ordinary cgit pages carry no caching headers, so browsers + # Ordinary cgit pages carry no expiry time, so browsers # refetch them and cgit's internal cache keeps that cheap. Do not # add a blanket expires or Cache-Control in this location. It # would fight the no-store cgit puts on the login page and could -- cgit