ubuntu-nginx-web-server/etc/nginx/conf.d/webp.conf

5 lines
70 B
Plaintext

map $http_accept $webp_suffix {
default "";
"~*webp" ".webp";
}