Skip to content

Support for image styles with s3fs module #15

Closed
@iBobik

Description

@iBobik

Module S3 File System adds stream wrapper for using AWS S3 as a files storage in Drupal. It also integrates image styles, but it uses different path for first load - /s3/files/styles/...

This config for Nginx solves it (from s3fs README):

location ~ (^/s3/files/styles/|^/sites/.*/files/imagecache/|^/sites/default/themes/.*/includes/fonts/|^/sites/.*/files/styles/) {
        expires max;
        try_files $uri @rewrite;
    }

Can I send PR with this modification (it has no effect for users without s3fs)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions