Open WebP instead of download

I am using WebP images on my website. When i want to open this image in a new tab, this don’t work - image will just download instead.

Fix is simple, but it would be great, having this activated by default.


  • add “webp”
  • result look like this
    location ~* .(?:webp|jpg|jpeg|gif|png|ico|xml)$ {


  • and I also found this little wrong text
  • instead of “imabe/webp” → “image/webp”


Thank you for fix this.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.