Fix cache routes
parent
cac0366a09
commit
7ee5323c28
|
@ -53,7 +53,7 @@ http://static-mat-services.fly.dev {
|
||||||
|
|
||||||
# caching
|
# caching
|
||||||
@static {
|
@static {
|
||||||
path *.bmp *.jpg *.png *.svg *.gif *.pdf *.css* *.js *.woff *.woff2 /style/* /font/* /image/*
|
path *.bmp *.jpg *.png *.svg *.gif *.pdf *.css *.js *.woff *.woff2 /style/* /font/* /image/*
|
||||||
}
|
}
|
||||||
route {
|
route {
|
||||||
header @static Cache-Control max-age=31536000, immutable
|
header @static Cache-Control max-age=31536000, immutable
|
||||||
|
|
Loading…
Reference in New Issue