Skip to content

Use an object in a bucket as the staticfile root #138

Open
@XDynames

Description

@XDynames

I am trying to setup staticfile hosting through minio and ran into a bit of a dead end getting collectstatic to work properly. It will place all the static content into the root of a bucket, but I can't find a way to configure it to move the files into an object in the bucket. Basically I want to do something like this:

- bucket
    - static
        - staticfolder
        - staticfolder
        - staticfolder
    -media
        -uploads

I am not sure if it is relevant but the minio container itself is not exposed to the wider network and is accessed by django through the docker network and clients via nginx. Any help would be greatly appriciated.

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