Commit 31441a75 authored by Stephane Nicoll's avatar Stephane Nicoll

Add a note to explain how to disable the web server

See gh-12853
parent 7550f92e
...@@ -569,6 +569,19 @@ server. ...@@ -569,6 +569,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]] [[howto-configure-jetty]]
=== Configure Jetty === Configure Jetty
Generally, you can follow the advice from 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