F: Enable caching for generated assets
This commit is contained in:
parent
9bfdc56789
commit
ebc6740e35
|
@ -75,4 +75,9 @@ server {
|
||||||
proxy_pass http://innerreact;
|
proxy_pass http://innerreact;
|
||||||
proxy_redirect default;
|
proxy_redirect default;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /assets/ {
|
||||||
|
expires 1y;
|
||||||
|
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user