From 0e4e9b364d32543fa7daa465523d536cd13b5ca4 Mon Sep 17 00:00:00 2001 From: anibilag Date: Fri, 18 Jul 2025 17:27:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D1=81=D0=B8=D1=8F=200.6.2=20?= =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=20=D0=B1=D0=BB=D0=BE?= =?UTF-8?q?=D0=BA=20location=20=D0=B4=D0=BB=D1=8F=20uploads=20=D0=B2=20ngi?= =?UTF-8?q?nx.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/nginx.conf | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 8e9fb73..4e584ad 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -77,8 +77,9 @@ http { } # Uploads - location /uploads/ { + location ^~ /uploads/ { alias /var/www/uploads/; + autoindex on; expires 1y; add_header Cache-Control "public, immutable"; access_log off; diff --git a/package.json b/package.json index 5bf3bbd..1743ab9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lawn-mowing-scheduler", "private": true, - "version": "0.6.1", + "version": "0.6.2", "type": "module", "scripts": { "dev": "concurrently \"npm run server\" \"npm run client\"",