Open igisho opened 3 months ago
I had the same issue and was able to resolve by setting the nginx user to www-data (to match the file permissions set in the entrypoint scripts).
Note this needed to be set in the main nginx.conf file at /etc/nginx/nginx.conf
- I changed the volume mapping from the example docker-compose file.
mautic version 5.1
my docker compose:
my nginx:
Mautic is running normally, no problem with logs, but images in email are not shown. I can upload and they are uploaded with correct permissions to media/images but in system i can only see empty placeholder thumbnail.
tried all solutions i know about to fix it: checked permissions/owners
Nginx log:
fpm-nginx-nginx-1 | 192.168.3.71 - - [20/Aug/2024:14:25:23 +0000] "GET /media/images/dae93048ab9e3691f5aee5369c6bbc22.jpg HTTP/1.1" 404 66728 "https://some.com/s/emails/new" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" "-"