Wordpress plugin Smush WEBP not working

My setup:
Serv Web: nginx
Serv Backend: php-fpm

 php --ri gd


GD Support => enabled
GD headers Version => 2.3.3
GD library Version => 2.3.3
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled
WebP Support => enabled
BMP Support => enabled
TGA Read Support => enabled

I also added the code to:

location ~* "wp-content\/(uploads\/)(.*\.(?:png|jpe?g))" {

	add_header Vary Accept;

	set $image_path $2;

	if (-f "/home/usr/web/mydomain.com/public_html/wp-content/smush-webp/disable_smush_webp") {



	if ($http_accept !~* "webp") {



	expires	max;

	try_files /wp-content/smush-webp/$image_path.webp $uri =404;


and deactivated all image formats

the plugin still doesn’t work. anyone know the solution on how to effectively activate the plugin?

Why do you say that it doesn’t work?

Have you verified that the images served are not webp regardless if they are .jpg files?

I have information in the plug:
Server configurations haven't been applied yet. Make configurations to start serving images in WebP format.

And the plugin doc what does it say?

I did everything in accordance with the instructions in the doc and here on the forum from another topic.
Unfortunately, it doesn’t work and I have no ideas anymore.