Hello WordOps enthusiasts.
I have some trouble getting avif files to work with WordOps on a Wordpress site.
WordOps seems to support Avif files out of the box if they are present with the same filename as the requested png or jpeg.
Unfortunately, it didn´t work for every png and I´m not really sure why.
Works: /wp-content/uploads/2023/04/e7e244eeda8d2220fb87d1bcfd43dcfc.png
Doesn´t work: /wp-content/uploads/brizy/imgs/487202b316b9e160f086e79e76ef21be-129x53x1x0x128x53x1681657507.png
The .avif file is present in the same folder and can be accessed via the browser by changing .png->.avif.
I tried to implement the way of serving avif based on this tutorial: https://shortpixel.com/knowledge-base/article/111-configure-nginx-to-transparently-serve-webp-files-when-supported
Only later I realized that WordOps does support Avif out of the box. So implementing the changes from the tutorial didnt´work or changed any handling of the avif files, since there might be overlap with the WordOps configuration.
I tried to add some changes to the /etc/nginx/conf.d/avif.conf & /etc/nginx/nginx.conf & /etc/nginx/common/wpcommon-php82.conf without any luck.
I hope someone can point me in the right direction to get this to work. I would highly appreciate any input.
System: Ubuntu 22
WordOps v3.16.3
Nginx: NGINX (1.22.1 ):
PHP (8.2.5)