* jpgeg -> jpeg
+ mp4 into staticfiles
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user