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.

Comments

roberto.muzzano created an issue. See original summary.

roberto.muzzano’s picture

Issue summary: View changes
cmlara’s picture

Status: Active » Postponed (maintainer needs more info)
Related issues: +#2974302: Image styles issues on Nginx web server
cmlara’s picture

Status: Postponed (maintainer needs more info) » Fixed

As 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.