Skip to content

make Access-Control-Allow-Origin configurable #164

@sgohl

Description

@sgohl

When referencing an uploaded image via webgl from another webapp, browsers deny due to CORS

For an image share app, I feel it's crucial to at least have it configurable to be able to opt for

Access-Control-Allow-Origin "*"

I think, reasonable would be an include statement in the main nginx conf, a dynamic generated nginx-conf snippet file combined with a conditional in start.sh that writes the statement to this snippet file in case a variable is set, probably even evaluate the env value

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