Embedded server configuration

An embedded server is one of the most important features of Spring Boot. Some of the embedded server features that can be ;configured through application properties ;include:

  • Server ports
  • SSL support and configuration
  • Access log configuration

The following snippet shows some of the embedded server features that can be configured through application properties:

# Path of the error controller.server.error.path=/error# Server HTTP port.server.port=8080# Enable SSL support.server.ssl.enabled=# Path to key store with SSL certificateserver.ssl.key-store=# Key Store Passwordserver.ssl.key-store-password=# Key Store Providerserver.ssl.key-store-provider=# Key Store Typeserver.ssl.key-store-type=# Should we enable access ...

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.