internetarchive / iiif

The official Internet Archive IIIF service
GNU General Public License v3.0
21 stars 4 forks source link

Cantaloupe reverse proxy using IP #2

Closed digitaldogsbody closed 11 months ago

digitaldogsbody commented 1 year ago

This adds the reverse proxy to Cantaloupe based on using the IP address of the IA load balancer and passing the target domain explicitly as a header.

Pro: Doesn't require resolving the address of the LB/Cantaloupe server on every request -> less unnecessary traffic Con: Hard codes IP address of the Load Balancer, so will stop working if that changes

NB: Only one of this or #3 should be merged, followed by #4 to update the address used in manifest generation

digitaldogsbody commented 11 months ago

This has been replicated in #8 with more of the custom IA internals required, so closing this PR as outdated.