From d572a98e3815f884f65e49bb20c226f9fecefde3 Mon Sep 17 00:00:00 2001 From: Bernhard Rusch Date: Tue, 10 May 2022 12:31:22 +0200 Subject: [PATCH 1/2] Docker nginx config: use mime.types and extend by image/avif --- .docker/nginx.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.docker/nginx.conf b/.docker/nginx.conf index ad42f1b5..e362ac07 100644 --- a/.docker/nginx.conf +++ b/.docker/nginx.conf @@ -1,7 +1,8 @@ -# mime types are covered in nginx.conf by: -# http { -# include mime.types; -# } + +include mime.types; +types { + image/avif avif; +} upstream php-pimcore10 { server php-fpm:9000; From f8e6ddb3065e8a29055b734aef6e4959dcd9de48 Mon Sep 17 00:00:00 2001 From: Bernhard Rusch Date: Tue, 10 May 2022 15:34:59 +0200 Subject: [PATCH 2/2] Update nginx.conf --- .docker/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.docker/nginx.conf b/.docker/nginx.conf index e362ac07..bd74fb8f 100644 --- a/.docker/nginx.conf +++ b/.docker/nginx.conf @@ -1,5 +1,6 @@ -include mime.types; +# mime types are already covered in nginx.conf +#include mime.types; types { image/avif avif; }