From 4201d657d6c78e67a474616d9256525471c34fc2 Mon Sep 17 00:00:00 2001 From: dimti Date: Tue, 21 Dec 2021 12:45:45 +0300 Subject: [PATCH] * jpgeg -> jpeg + mp4 into staticfiles --- config/nginx/includes.d/staticfiles.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nginx/includes.d/staticfiles.conf b/config/nginx/includes.d/staticfiles.conf index ed6c7ea..bd0f761 100644 --- a/config/nginx/includes.d/staticfiles.conf +++ b/config/nginx/includes.d/staticfiles.conf @@ -5,7 +5,7 @@ location ~* \.(gif|svg|ico)$ { log_not_found off; error_page 404 = /empty; } -location ~* \.jpge?g$ { +location ~* \.jpe?g$ { access_log off; expires max; log_not_found off; @@ -21,7 +21,7 @@ location = /empty { expires 0; empty_gif; } -location ~* \.(eot|ttf|woff|woff2|pdf|css|js)$ { +location ~* \.(eot|ttf|woff|woff2|pdf|css|js|mp4)$ { try_files $uri /404; access_log off; expires max;