+ webp in staticfiles nginx config
This commit is contained in:
@ -11,6 +11,12 @@ location ~* \.jpe?g$ {
|
|||||||
log_not_found off;
|
log_not_found off;
|
||||||
error_page 404 = /empty;
|
error_page 404 = /empty;
|
||||||
}
|
}
|
||||||
|
location ~* \.webp {
|
||||||
|
access_log off;
|
||||||
|
expires max;
|
||||||
|
log_not_found off;
|
||||||
|
error_page 404 = /empty;
|
||||||
|
}
|
||||||
location ~* \.png$ {
|
location ~* \.png$ {
|
||||||
access_log off;
|
access_log off;
|
||||||
expires max;
|
expires max;
|
||||||
|
Reference in New Issue
Block a user