Browse Source

* jpgeg -> jpeg

+ mp4 into staticfiles
master
dimti 3 years ago
parent
commit
4201d657d6
  1. 4
      config/nginx/includes.d/staticfiles.conf

4
config/nginx/includes.d/staticfiles.conf

@ -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;

Loading…
Cancel
Save