Skip to content

Commit c49aac4

Browse files
authored
Merge pull request #408 from os2display/feature/370-fix-thumbnail-404
370: Fix thumbnail 404 regression in nginx static-file location
2 parents 0ee0f06 + 4f4ca2b commit c49aac4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ All notable changes to this project will be documented in this file.
3636
- Removed fixture length check from test.
3737
- Added vitest for frontend unit tests.
3838
- Updated infrastructure and image build for mono-repo.
39+
- Fixed nginx static-file location to fall back to PHP so LiipImagineBundle can generate missing thumbnails (#370).
3940

4041
### NB! Prior to 3.x the project was split into separate repositories
4142

infrastructure/nginx/etc/templates/default.conf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ server {
5959
expires 1y;
6060
add_header Cache-Control "public, immutable";
6161
access_log off;
62+
try_files $uri /index.php$is_args$args;
6263
}
6364

6465
# Screen client online check should just serve static files

0 commit comments

Comments
 (0)