mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 13:41:56 +00:00
Revert "Corrected caddy caching for caddy v2"
This reverts commit 7d19feecdf.
This commit is contained in:
@@ -4,15 +4,16 @@
|
||||
}
|
||||
|
||||
(site) {
|
||||
@cachedFiles {
|
||||
path *.webp *.webm *.ico *.js *.css
|
||||
}
|
||||
header @cachedFiles Cache-Control "public, max-age=1814400, must-revalidate"
|
||||
|
||||
@landing {
|
||||
path / /contact* /about*
|
||||
cache {
|
||||
ttl 86400s
|
||||
}
|
||||
}
|
||||
handle /_app/* {
|
||||
cache {
|
||||
ttl 86400s
|
||||
}
|
||||
reverse_proxy site:3000
|
||||
}
|
||||
handle @landing {
|
||||
@@ -24,6 +25,9 @@
|
||||
}
|
||||
}
|
||||
handle /repo* {
|
||||
cache {
|
||||
ttl 86400s
|
||||
}
|
||||
uri strip_prefix /repo
|
||||
reverse_proxy repo-placeholder:80
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user