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\"",