Problem/Motivation
The uploaded files styles return a 404, i've added this snippet to my nginx server, but it doesn't make difference.
location ~ ^/s3/files/styles/ {
try_files $uri @rewrite;
}I'm running Drupal in my localhost using Lando https://docs.lando.dev/drupal/ with the recepite Drupal 10, on production website I don't run into this problems.
There are specific requirements to use this plugin?
Steps to reproduce
Install lando
https://docs.lando.dev/getting-started/installation.html
Create a D10 website with the recepite
https://docs.lando.dev/drupal/getting-started.html
Install the s3fs module
lando composer require 'drupal/s3fs:^3.4'
lando drush en s3fs
Configure s3fs module
Than create a file inside a content type that use S3 File System.
Activate in the file system (admin/config/media/file-system) the option Amazon Simple Storage Service.
Try to upload a file, you should see that the preview image in broken.
Thanks for this module, and thank for help.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2024-01-09 alle 15.40.36.png | 68.24 KB | roberto.muzzano | |
| Screenshot 2024-01-09 alle 15.37.06.png | 41.14 KB | roberto.muzzano | |
| Screenshot 2024-01-09 alle 15.36.35.png | 31.41 KB | roberto.muzzano |
Comments
Comment #2
roberto.muzzano commentedComment #3
cmlaraPossibly solution?
#2974302-10: Image styles issues on Nginx web server
Comment #4
cmlaraAs this issue has had over 2 weeks without feedback I assume the information in #3 was helpful to resolving the concern.
I am closing the issue. If the concern still exists please re-open with additional details.