bnbalsamo / microservice_repository_orchestration

*ARCHIVED* - Dockerized microservice orchestration for an archival digital repository
GNU General Public License v3.0
0 stars 1 forks source link

Reverse Proxy / Load Balancer redirect issues - Location header #1

Open bnbalsamo opened 7 years ago

bnbalsamo commented 7 years ago

Currently redirects are broken when used internally by web services, as the "Location" header returned references URLs/Ports which only exist inside of the docker network. This prevents web services from utilizing relative/dynamic linking.

bnbalsamo commented 7 years ago

The "records" branch fixes this obtusely, by chopping the Location header out of responses wholesale, forcing the client browser to resolve relative paths. This appears to work in Chrome and Firefox (though it forces the client to actually click the redirection link). Internet explorer however is not happy with it.