70.14 Configure Undertow
Generally you can follow the advice from Section 69.8, “Discover built-in options for external properties” about @ConfigurationProperties
(ServerProperties
and ServerProperties.Undertow
are the main ones here), but also look at EmbeddedServletContainerCustomizer
. Once you have access to the UndertowEmbeddedServletContainerFactory
you can use an UndertowBuilderCustomizer
to modify Undertow’s configuration to meet your needs. Or the nuclear option is to add your own UndertowEmbeddedServletContainerFactory
.