+ webp in staticfiles nginx config

This commit is contained in:
2022-08-21 18:38:09 +03:00
parent 9bc71f7b2d
commit aa74376503

View File

@ -11,6 +11,12 @@ location ~* \.jpe?g$ {
log_not_found off;
error_page 404 = /empty;
}
location ~* \.webp {
access_log off;
expires max;
log_not_found off;
error_page 404 = /empty;
}
location ~* \.png$ {
access_log off;
expires max;