Good morning all. I want to redirect all my PNG and JPG images to their WebP versions. I tried several versions of the code, but each time no more images appear. This is the last code I used: location ~ * ^ (/.+) \. (jpg | jpeg | jpe | png | gif) $ { add_header Vary Accept; if ($ http_accept ~ * "webp") { set $ imwebp A; } if (-f $ request_filename.wby ignace72 - How to...
Good morning all. I am new to the forum but have been using Nginx for a few years on my self-hosted server. Ignace.by ignace72 - New Member Introductions