DDMAL / cantus

:mag: Searching with Optical Music Recognition technology and the Cantus Database
http://cantus.simssa.ca
MIT License
15 stars 4 forks source link

Update nginx.conf for cantaloupe redirects (without nested location blocks) #830

Closed dchiller closed 9 months ago

dchiller commented 9 months ago

Updates nginx.conf to remove the need for nested location blocks.

Requests to the Cantus Ultimus server are directed to cantaloupe if of the form cantus[.staging].simssa.ca/iiif or cantus[.staging].simssa.ca/iiif/2. The first case (sans /2) captures the case of uri's to the Cantus Ultimus IIIF server (for example, those we've put in the Gottschalk reconstruction's manifest). The second case (with /2) captures internal redirects generated by cantaloupe.