vault backup: 2024-07-01 12:34:39

This commit is contained in:
Struchkov Mark 2024-07-01 12:34:39 +03:00
parent 6db66e8918
commit 808ba256d2
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C
2 changed files with 5 additions and 9 deletions

View File

@ -24,12 +24,12 @@
"unresolvedLinks": false, "unresolvedLinks": false,
"recentFilesStore": [ "recentFilesStore": [
{ {
"filepath": "_inbox/Настройка клиентского кэширования в Nginx.md", "filepath": "_inbox/Кэширование статики в Nginx.md",
"timestamp": 1719826052271 "timestamp": 1719826234779
}, },
{ {
"filepath": "_inbox/Кэширование на стороне Nginx.md", "filepath": "_inbox/Кэширование на стороне Nginx.md",
"timestamp": 1719826046767 "timestamp": 1719826222287
}, },
{ {
"filepath": "_inbox/Кэширование.md", "filepath": "_inbox/Кэширование.md",

View File

@ -20,14 +20,10 @@ server {
... ...
# Media # Media
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc|)$ { location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc|css|js)$ {
expires 365d; expires 365d;
access log off; access log off;
} add header Cache-Control public
# CSS and Js
location ~* \.()$ {
expires 365d;
} }
... ...