mirror of
https://github.com/caddyserver/website.git
synced 2025-06-14 18:25:12 -04:00
no-cache directive has to have the hyphen
This commit is contained in:
parent
4de1370b7a
commit
0a84fcf49a
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
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
|
```caddy-d
|
||||||
header /no-cache* >Cache-Control nocache
|
header /no-cache* >Cache-Control no-cache
|
||||||
reverse_proxy upstream:443
|
reverse_proxy upstream:443
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue