roniel Which Linux distribution are you using?
Centos7 have an issue with Webp, Centos 8 have Webp support.
As i can see you are using Wordpress, follow this procedure for Webp support without any plugin.
1.Open function.php (wp-includes folder)
Search "getimagesize_mimes_to_exts" and add 'image/webp' => 'webp'
https://prnt.sc/wmbbc5
Again search "return apply_filters" and add 'webp' => 'image/webp',
https://prnt.sc/wmbbt0
Again search "return apply_filters" and add Webp extension in image formate line.
https://prnt.sc/wmbc81
Done, now you upload and display directly Webp images in wordpress.