Skip to content

[v17][fs_attachment] X-Sendfile feature doesn't work #560

@taha-adel

Description

@taha-adel

Module

fs_attachment

Describe the bug

I use GCP Object Storage for attachments and it's working fine but when I use the X-Sendfile option and set the Base URL to the domain of the CDN I have in front of the GCS bucket, I still can access the attachment but not through NGINX and CDN.

To Reproduce

Affected versions: 17

Steps to reproduce the behavior:

  1. Use GCS Storage bucket for attachments
  2. Configure NGINX for X-Sendfile as per the docs
  3. Configure the module to work with GCS and to use X-Sendfile and set the Base URL

Expected behavior
I expect to get the attachment through NGINX and the CDN I have in front of the Backend storage bucket.

Additional context
OS Version: Ubuntu 22.04
Python Version: 3.10.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions