# 75.2 配置Jetty

通常，你可以遵循[74.8 发现外部属性的内置选项](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/reference/htmlsingle/#howto-discover-build-in-options-for-external-properties)关于`@ConfigurationProperties`的部分（`ServerProperties`是这里的主要选项）。但是，你还应该查看[WebServerFactoryCustomizer](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/api/org/springframework/boot/web/server/WebServerFactoryCustomizer.html)。Jetty API非常丰富。因此，一旦你访问了`JettyServletWebServerFactory`，就可以通过多种方式修改它。或者，如果需要更多的控制和定制，可以添加自己的`JettyServletWebServerFactory`。
