diff --git a/CHANGELOG.md b/CHANGELOG.md index d7040a31..2ac94d66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ All notable changes to this project will be documented in this file. - Removed fixture length check from test. - Added vitest for frontend unit tests. - Updated infrastructure and image build for mono-repo. +- Fixed nginx static-file location to fall back to PHP so LiipImagineBundle can generate missing thumbnails (#370). ### NB! Prior to 3.x the project was split into separate repositories diff --git a/infrastructure/nginx/etc/templates/default.conf.template b/infrastructure/nginx/etc/templates/default.conf.template index 52269bea..7902373a 100644 --- a/infrastructure/nginx/etc/templates/default.conf.template +++ b/infrastructure/nginx/etc/templates/default.conf.template @@ -59,6 +59,7 @@ server { expires 1y; add_header Cache-Control "public, immutable"; access_log off; + try_files $uri /index.php$is_args$args; } # Screen client online check should just serve static files