WebAdmin Configuration
Consult webadmin.properties in GIT to get some examples and hints.
Use this configuration to define the WebAdmin's responding host and port.
- enabled
- Define if WebAdmin is launched (default: false)
- port
- Define WebAdmin's port (default: 8080)
- host
- Define WebAdmin's host (default: localhost, use 0.0.0.0 to listen on all addresses)
- cors.enable
- Allow the Cross-origin resource sharing (default: false)
- cors.origin
- Specify ths CORS origin (default: null)
- jwt.enable
- Allow JSON Web Token (default: false)
- https.enable
- Use https (default: false)
- https.keystore
- Specify a keystore file for https (default: null)
- https.password
- Specify the keystore password (default: null)
- https.trust.keystore
- Specify a truststore file for https (default: null)
- https.trust.password
- Specify the truststore password (default: null)
- extensions.routes
- List of Routes specified as fully qualified class name that should be loaded in addition to your product routes list. Routes
needs to be on the classpath or in the ./extensions-jars folder.
- maxThreadCount
- Maximum threads used by the underlying Jetty server. Optional.
- minThreadCount
- Minimum threads used by the underlying Jetty server. Optional.
Reverse-proxy set up
WebAdmin adds the value of X-Real-IP
header as part of the logging MDC.
This allows for reverse proxies to cary other the IP address of the client down to the JMAP server for diagnostic purpose.