Page MenuHomePhabricator

Request CORS headers for iiifls1
Closed, ResolvedPublic

Description

Hi,

for the sake of interoperability the CORS header on the webproxy should be set. Also see at the end of this page: http://iiif.io/technical-details/

compare

# curl -v 'https://iiif.manducus.net/manifests/0001/Q1028282/manifest.json'
...
< Access-Control-Allow-Origin: *
...

with

curl -v 'https://iiils1.wmflabs.org2/manifest.json'

Adding this to the nginx conf seems to be sufficient:

add_header 'Access-Control-Allow-Origin' '*';

Thanks!
Leander aka Manducus

Event Timeline

It seems to be enough to set this header on the local webserver.

Closed.
Leander

@Manducus: Which Wikimedia related project / webserver is this about? Toolforge? Setting project tags welcome, for future reference. :)

Vvjjkkii renamed this task from Request CORS headers for iiifls1 to kvcaaaaaaa.Jul 1 2018, 1:09 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii removed Andrew as the assignee of this task.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from kvcaaaaaaa to Request CORS headers for iiifls1.Jul 2 2018, 4:07 PM
CommunityTechBot closed this task as Resolved.
CommunityTechBot assigned this task to Andrew.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.