summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-07-11 17:34:07 +0200
committerGitHub <noreply@github.com>2025-07-11 17:34:07 +0200
commitd5743398539263f2c0cac676e073a08cb3eb6eb8 (patch)
tree8bf88bfdf2f03a3d0326ef8af0e10828c92482c4
parent574b285efa1658fd6d82d673e2063be659d5f624 (diff)
[mod] container: remove `Cache-Control` header (#5005)
Granian shouldn't actually handle the cache, we leave that to the upstream proxy. Related https://github.com/searxng/searxng/pull/5004
-rw-r--r--container/Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/container/Dockerfile b/container/Dockerfile
index 5c4689072..8613d1cb6 100644
--- a/container/Dockerfile
+++ b/container/Dockerfile
@@ -52,8 +52,7 @@ ENV SEARXNG_VERSION="$SEARXNG_GIT_VERSION" \
GRANIAN_BLOCKING_THREADS="4" \
GRANIAN_WORKERS_KILL_TIMEOUT="30" \
GRANIAN_BLOCKING_THREADS_IDLE_TIMEOUT="300" \
- GRANIAN_STATIC_PATH_MOUNT="/usr/local/searxng/searx/static/" \
- GRANIAN_STATIC_PATH_EXPIRES="3600"
+ GRANIAN_STATIC_PATH_MOUNT="/usr/local/searxng/searx/static/"
VOLUME $CONFIG_PATH
VOLUME $DATA_PATH