The default port of the web server is
7080. This can be changed, e.g. if there is a conflict with another application.
server: applicationConnectors: - type: http port: 8080
If the application is run behind another web server, e.g. for HTTPS or to change the path where the services are accessible (
/rest/services), the external URL must be configured.
A common use case would be to use Apache HTTP Server to set up a ProxyPass from
http://ldproxy-host:7080/rest/services. Then the following would need to be configured:
server: externalUrl: https://example.org/ldproxy/
Request logging is disabled by default. This example would enable writing request logs to
data/log/requests.log. It also enables daily log rotation and keeps old logs zipped for a week.
server: requestLog: type: classic timeZone: Europe/Berlin appenders: - type: file currentLogFilename: data/log/requests.log archive: true archivedLogFilenamePattern: data/log/requests-%d.zip archivedFileCount: 7