ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: filestorage upload и preview вложений
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user