play.core.server.ServerConfig
See theServerConfig companion object
case class ServerConfig(rootDir: File, port: Option[Int], sslPort: Option[Int], address: String, mode: Mode, properties: Properties, configuration: Configuration)
Common configuration for servers such as NettyServer.
Value parameters
- address
-
The socket address to bind to.
- configuration
-
The configuration to use for loading the server. This is not the same as application configuration. This configuration is usually loaded from a server.conf file, whereas the application configuration is usually loaded from an application.conf file.
- mode
-
The run mode: dev, test or prod.
- port
-
The HTTP port to use.
- rootDir
-
The root directory of the server. Used to find default locations of files, log directories, etc.
- sslPort
-
The HTTPS port to use.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article