企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 70.14 配置Undertow 通常你可以遵循[Section 69.8, “Discover built-in options for external properties”](https://github.com/cwiki-us-spring-guides/Spring-Boot-Reference-Guide/tree/0047aa8098a650dde0c93f4d2e91754c83468c4b/IX.%20‘How-to’%20guides/69.8%20Discover%20built-in%20options%20for%20external%20properties.md)关于`@ConfigurationProperties`(此处主要是`ServerProperties`和`ServerProperties.Undertow`),但也要看下`EmbeddedServletContainerCustomizer`。 一旦获取到`UndertowEmbeddedServletContainerFactory`,你就可以使用`UndertowBuilderCustomizer`修改Undertow的配置以满足你的需求,或更彻底地就是添加你自己的`UndertowEmbeddedServletContainerFactory`。