diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 0541ed3..c0c9879 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -19,6 +19,12 @@ server { proxy_set_header X-Forwarded-Proto $scheme; } + # تصاویر: بدون کش طولانی — تا تغییرات سریع دیده شوند + location ~* ^/images/ { + add_header Cache-Control "no-cache"; + try_files $uri =404; + } + # کش استاتیک location ~* \.(js|css|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ { expires 30d;