Skip to content

Commit

Permalink
Enabled webp-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Nov 13, 2023
1 parent 4c0cbd2 commit f327138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/nginx/preset.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ location / {
return 404;
}

location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg|mp4|svgz|ogg|ogv|pdf|pptx?|zip|tgz|gz|rar|bz2|doc|xls|exe|tar|mid|midi|wav|bmp|rtf|txt|map)$ {
location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg|mp4|svgz|ogg|ogv|pdf|pptx?|zip|tgz|gz|rar|bz2|doc|xls|exe|tar|mid|midi|wav|bmp|rtf|txt|map|webp)$ {
access_log off;
tcp_nodelay off;
expires 1y;
Expand Down

0 comments on commit f327138

Please sign in to comment.