Diff options
Diffstat (limited to 'custom')
-rw-r--r--custom/servers/apache.conf4
-rw-r--r--custom/servers/nginx.conf2
2 files changed, 3 insertions, 3 deletions
diff --git a/custom/servers/apache.conf b/custom/servers/apache.conf
index 6c85ee3..3d65d5e 100644
--- a/custom/servers/apache.conf
+++ b/custom/servers/apache.conf
@@ -136,8 +136,8 @@ AddType text/plain .txt
Require all granted
# These assets rarely change, so let browsers cache them. Keep the
- # caching scoped to this directory. Ordinary cgit pages carry no caching
- # headers, so a server-wide ExpiresDefault would stamp freshness onto
+ # caching scoped to this directory. Ordinary cgit pages carry no expiry
+ # time, so a server-wide ExpiresDefault would stamp freshness onto
# them, fight the no-store cgit puts on the login page, and could let
# one visitor's page be served to another from a shared cache.
<IfModule mod_expires.c>
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