Skip to content

NGINX Impl note #43

Open
Open

Description

@jpstroop

Based on @jronallo's config and this thread.

Expand/re-title the existing Apache note, or write a new one?

Activity

  1. azaroth42 commented on Mar 30, 2017

    @azaroth42
    Member

    Does @jpstroop or @jronallo want to write such a note? Otherwise close?

  2. glenrobson commented on Aug 19, 2017

    @glenrobson
    Member

    Not a complete solution as I'm not sure how this would work with out a proxy but this works if there is a proxy involved:

    # in  the http section:
    map $http_accept $jsonmimetype {
          default   "application/json";
          "application/ld+json"  "application/ld+json";
    }
    ...
    location ~ \.json$ {
             proxy_pass http://example.com;
             proxy_hide_header 'Content-Type';
             add_header 'Access-Control-Allow-Origin' '*';
             add_header 'Content-Type' '$jsonmimetype';
    }
    
  3. azaroth42 commented on Jan 5, 2018

    @azaroth42
    Member

    Almost 2 years without movement ... can someone take this on, otherwise I propose closing.

  4. azaroth42 commented on Mar 14, 2018

    @azaroth42
    Member

    Propose close.

  5. glenrobson commented on Oct 15, 2018

    @glenrobson
    Member

    Looks a good resource to link to:

    https://enable-cors.org/server_nginx.html

  6. transferred this issue fromIIIF/apion Jan 23, 2019
  7. mejackreed commented on Nov 5, 2019

    @mejackreed
  8. glenrobson commented on Feb 18, 2022

    @glenrobson
    Member

    Also relates to the Apache guide: https://iiif.io/api/annex/notes/apache/

  9. glenrobson commented on Feb 18, 2022

    @glenrobson
    Member

    We discussed this in the cookbook meeting on the 18th Feb 2022. We think this is a guide rather than a cookbook recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions