Skip to content

HTTP_ORIGIN wild card #9

@caseman72

Description

@caseman72

For
Access-Control-Allow-Origin

It would be nice to pass the current URL so if the value in the settings was:
HTTP_ORIGIN

Then you would replace that with the current url in the header ...

In my nginx.conf file I do this:
more_set_headers 'Access-Control-Allow-Origin: $http_origin';
more_set_headers 'Access-Control-Allow-Credentials: true';

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions