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.
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
orcantus[.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.