Версия 0.6.2 Изменен блок location для uploads в nginx.conf

This commit is contained in:
anibilag 2025-07-18 17:27:58 +03:00
parent dc0843723f
commit 0e4e9b364d
2 changed files with 3 additions and 2 deletions

View File

@ -77,8 +77,9 @@ http {
} }
# Uploads # Uploads
location /uploads/ { location ^~ /uploads/ {
alias /var/www/uploads/; alias /var/www/uploads/;
autoindex on;
expires 1y; expires 1y;
add_header Cache-Control "public, immutable"; add_header Cache-Control "public, immutable";
access_log off; access_log off;

View File

@ -1,7 +1,7 @@
{ {
"name": "lawn-mowing-scheduler", "name": "lawn-mowing-scheduler",
"private": true, "private": true,
"version": "0.6.1", "version": "0.6.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "concurrently \"npm run server\" \"npm run client\"", "dev": "concurrently \"npm run server\" \"npm run client\"",