magneticio / vamp-gateway-agent

Vamp Gateway Agent
Apache License 2.0
8 stars 8 forks source link

Improve 503 page #32

Open iamtew opened 7 years ago

iamtew commented 7 years ago

When adding a new gateway VGA HAproxy is reconfigured and reloaded before the upstream server is fully responding, and in that case will show the user a HTTP 503 Service Unavailable.

As 503 is a temporary error, and having a proper maintenance page for it will prevent search engines from delisting websites. See:

olafmol commented 7 years ago

For proper canary releasing expected behaviour visitors should see the former version and no 503s, until the newly added version is up and running correctly (healthy) and then traffic can be routed with the conditions and weight settings as defined.