* jpgeg -> jpeg

+ mp4 into staticfiles
This commit is contained in:
2021-12-21 12:45:45 +03:00
parent 4a0dbb92d8
commit 4201d657d6

View File

@ -5,7 +5,7 @@ location ~* \.(gif|svg|ico)$ {
log_not_found off; log_not_found off;
error_page 404 = /empty; error_page 404 = /empty;
} }
location ~* \.jpge?g$ { location ~* \.jpe?g$ {
access_log off; access_log off;
expires max; expires max;
log_not_found off; log_not_found off;
@ -21,7 +21,7 @@ location = /empty {
expires 0; expires 0;
empty_gif; empty_gif;
} }
location ~* \.(eot|ttf|woff|woff2|pdf|css|js)$ { location ~* \.(eot|ttf|woff|woff2|pdf|css|js|mp4)$ {
try_files $uri /404; try_files $uri /404;
access_log off; access_log off;
expires max; expires max;