Commit fb60716e authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.0.x'

parents 2fd5cebe 2204d5f7
......@@ -516,9 +516,6 @@ includes Tomcat by including `spring-boot-starter-tomcat`, but you can use
`spring-boot-starter-reactor-netty`, but you can use `spring-boot-starter-tomcat`,
`spring-boot-starter-jetty`, or `spring-boot-starter-undertow` instead.
NOTE: Many starters support only Spring MVC, so they transitively bring
`spring-boot-starter-web` into your application classpath.
If you need to use a different HTTP server, you need to exclude the default dependencies
and include the one you need. Spring Boot provides separate starters for
HTTP servers to help make this process as easy as possible.
......@@ -569,6 +566,19 @@ server.
[[howto-use-another-web-server]]
=== Disabling the Web Server
If your classpath contains the necessary bits to start a web server, Spring Boot will
automatically start it. To disable this behaviour configure the `WebApplicationType` in
your `application.properties`, as shown in the following example:
[source,properties,indent=0]
----
spring.main.web-application-type=none
----
[[howto-configure-jetty]]
=== Configure Jetty
Generally, you can follow the advice from
......
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