Commit b7e9f805 authored by Phillip Webb's avatar Phillip Webb

Set ignoreUnknownFields=true on ServerProperties

Update ServerProperties so that unknown SERVER_* environment properties
do not cause startup failures.

Fixes gh-3903
parent e69a5879
......@@ -56,7 +56,7 @@ import org.springframework.util.StringUtils;
* @author Andy Wilkinson
* @author Ivan Sopov
*/
@ConfigurationProperties(prefix = "server", ignoreUnknownFields = false)
@ConfigurationProperties(prefix = "server", ignoreUnknownFields = true)
public class ServerProperties implements EmbeddedServletContainerCustomizer, Ordered {
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment