Update src/docs/markdown/caddyfile/patterns.md

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
Fabian 2024-07-28 18:38:58 +02:00 committed by Francis Lavoie
parent 4913508ea6
commit 2c853a5cab
No known key found for this signature in database
GPG key ID: 52BC55A211F19186

View file

@ -220,9 +220,7 @@ example.com {
encode gzip encode gzip
route { route {
try_files {path} /index.html try_files {path} /index.html
header /index.html { header /index.html Cache-Control "public, max-age=0, must-revalidate"
Cache-Control "public,max-age=0,must-revalidate"
}
} }
file_server file_server
} }