Browse Source

+ webp in staticfiles nginx config

master
dimti 2 years ago
parent
commit
aa74376503
  1. 6
      config/nginx/includes.d/staticfiles.conf

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

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

Loading…
Cancel
Save