ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: filestorage upload и preview вложений

This commit is contained in:
DCCONSTRUCTIONS
2026-04-25 13:05:03 +03:00
parent 5f2d543cab
commit c4032e3040
43 changed files with 982 additions and 127 deletions
+8
View File
@@ -38,6 +38,14 @@ http {
try_files $uri =404;
}
location ~* ^/assets/.+\.mjs$ {
root /usr/share/nginx/html;
types { application/javascript mjs; }
default_type application/javascript;
add_header Cache-Control "public, max-age=31536000, immutable" always;
try_files $uri =404;
}
location ~* ^/assets/.+\.(js|css|png|jpg|jpeg|gif|svg|webp|ico|woff|woff2)$ {
root /usr/share/nginx/html;
add_header Cache-Control "public, max-age=31536000, immutable" always;