From 0a84fcf49aef6d2013497e798b51e25f06691e13 Mon Sep 17 00:00:00 2001 From: Arsh <69170106+lilnasy@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:48:07 -0500 Subject: [PATCH] no-cache directive has to have the hyphen --- src/docs/markdown/caddyfile/directives/header.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/directives/header.md b/src/docs/markdown/caddyfile/directives/header.md index 93e5cc4..ec47062 100644 --- a/src/docs/markdown/caddyfile/directives/header.md +++ b/src/docs/markdown/caddyfile/directives/header.md @@ -175,7 +175,7 @@ reverse_proxy upstream:443 To override the cache expiration that a proxy upstream had set for paths starting with `/no-cache`; enabling `defer` is necessary to ensure the header is set _after_ the proxy writes its headers: ```caddy-d -header /no-cache* >Cache-Control nocache +header /no-cache* >Cache-Control no-cache reverse_proxy upstream:443 ```