nginx-andebol was missing the wp_andebol_content volume mount
WordPress PHP-FPM writes uploaded files to wp_andebol_content volume at /var/www/html/wp-content
nginx only had wp_andebol_html mounted, so it could not see files uploaded to the content volume
All 5 backfilled post images (posts 129-134) returned 404 despite being on disk
Root Cause
The docker-compose.ymlnginx-andebol service declared only:
volumes:- wp_andebol_html:/var/www/html:ro
but the WordPress container writes uploads to a separatewp_andebol_content volume. Without that mount, nginx served requests for /wp-content/uploads/... from the base html volume which has no uploads.
Fix
Added wp_andebol_content:/var/www/html/wp-content:ro to nginx-andebol volumes. Container was recreated and verified: all 5 affected images now return HTTP 200 at origin.
Note: Cloudflare has cached some 404 responses (max-age=14400). These will expire within ~4 hours. Public URLs will be fully restored by then.
Ref: BIT-23734
## Summary
- `nginx-andebol` was missing the `wp_andebol_content` volume mount
- WordPress PHP-FPM writes uploaded files to `wp_andebol_content` volume at `/var/www/html/wp-content`
- nginx only had `wp_andebol_html` mounted, so it could not see files uploaded to the content volume
- All 5 backfilled post images (posts 129-134) returned 404 despite being on disk
## Root Cause
The `docker-compose.yml` `nginx-andebol` service declared only:
```yaml
volumes:
- wp_andebol_html:/var/www/html:ro
```
but the WordPress container writes uploads to a **separate** `wp_andebol_content` volume. Without that mount, nginx served requests for `/wp-content/uploads/...` from the base html volume which has no uploads.
## Fix
Added `wp_andebol_content:/var/www/html/wp-content:ro` to `nginx-andebol` volumes. Container was recreated and verified: all 5 affected images now return HTTP 200 at origin.
## Verification
```
$ curl -o /dev/null -w "%{http_code}" http://10.10.50.140:8081/wp-content/uploads/2026/05/Banner-EHF-EC-2-31.png
200
$ curl -o /dev/null -w "%{http_code}" http://10.10.50.140:8081/wp-content/uploads/2026/05/Banner_w18_SandraFernandes.jpg
200
```
**Note:** Cloudflare has cached some 404 responses (max-age=14400). These will expire within ~4 hours. Public URLs will be fully restored by then.
Ref: BIT-23734
nginx-andebol was missing the wp_andebol_content volume mount, causing
uploaded files to return 404 even though they were written correctly to
the wp_andebol_content Docker volume by the WordPress PHP-FPM container.
Paperclip-Task: BIT-23734
Paperclip-Agent: devops
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
nginx-andebolwas missing thewp_andebol_contentvolume mountwp_andebol_contentvolume at/var/www/html/wp-contentwp_andebol_htmlmounted, so it could not see files uploaded to the content volumeRoot Cause
The
docker-compose.ymlnginx-andebolservice declared only:but the WordPress container writes uploads to a separate
wp_andebol_contentvolume. Without that mount, nginx served requests for/wp-content/uploads/...from the base html volume which has no uploads.Fix
Added
wp_andebol_content:/var/www/html/wp-content:rotonginx-andebolvolumes. Container was recreated and verified: all 5 affected images now return HTTP 200 at origin.Verification
Note: Cloudflare has cached some 404 responses (max-age=14400). These will expire within ~4 hours. Public URLs will be fully restored by then.
Ref: BIT-23734
auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
auto-approve: CI success (gitea_auto_approve_open_prs_once.py)