From fcd7937bc288478eaa9624ffefcbb66e815f311b Mon Sep 17 00:00:00 2001 From: mrishika Date: Thu, 31 Jul 2025 18:56:43 +0530 Subject: [PATCH] Add WebP MIME type to Nginx main config --- templates/config/nginx/main.conf.mustache | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/config/nginx/main.conf.mustache b/templates/config/nginx/main.conf.mustache index 4d086de..d47cc15 100644 --- a/templates/config/nginx/main.conf.mustache +++ b/templates/config/nginx/main.conf.mustache @@ -10,6 +10,14 @@ upstream redis { server {{cache_host}}:6379; keepalive 10; } +types { + image/webp webp; + image/jpeg jpeg jpg; + image/png png; +} +index index.php index.html index.htm; + + {{/include_redis_conf}} server {