fernandohackbart / biosphere

FREEZED!! Moved to https://gitlab.com/fernando.hackbart/biosphere
3 stars 0 forks source link

ServiceNotFoundHandler: if the URI is available in another server redirect to the right server #72

Closed fernandohackbart closed 7 years ago

fernandohackbart commented 7 years ago

If the URI arrives in the wrong server (wrong port), the ServiceNotFoundHandler will be activated, in the case the service is found in another server the ServiceNotFoundHandler shall redirect the request to the right server in the same cell.

fernandohackbart commented 7 years ago

To test just call

curl -s -k https://fernando-hackbart.familie.local:1040/test

Should redirect to https://fernando-hackbart.familie.local:1060/test

fernandohackbart commented 7 years ago

Should be curl -L -s -k https://fernando-hackbart.familie.local:1040/test to follow the redirect