Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 2 of 2
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.w
by
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