Update nginx.md

pull/8/head
qwertyforce 2021-09-05 22:08:27 +03:00
parent 34b5ab7a9d
commit 4da07e720e
1 changed files with 4 additions and 2 deletions

View File

@ -7,16 +7,18 @@
location /images/ {
root /home/scenery/public;
expires 30 d;
expires 30d;
}
location /thumbnails/ {
root /home/scenery/public;
expires 30 d;
expires 30d;
}
location /_next/static/ {
root /home/scenery;
expires 1y;
add_header Cache-Control "public, immutable";
}
location / {