Skip to content

Add WebMVC load balancer use404 support - #4377

Open
JoeCqupt wants to merge 1 commit into
spring-cloud:mainfrom
JoeCqupt:feat/webmvc-loadbalancer-use404
Open

JoeCqupt wants to merge 1 commit into
spring-cloud:mainfrom
JoeCqupt:feat/webmvc-loadbalancer-use404

Conversation

@JoeCqupt

Copy link
Copy Markdown
Contributor

When no service instance is available, the WebMVC load balancer currently throws a 503 error. This change allows users to opt into a 404 error by setting spring.cloud.gateway.server.webmvc.loadbalancer.use404=true. The default behavior remains 503.

Signed-off-by: joecqupt <joe469391363@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants