Webserver-Config
Info:
When a “default” is mentioned for any option, it is meant that if the option is commented out or removed, that is what BlueMap will use as a fallback.
This may not be the same as the option that is pre-filled-in.
enabled
With this setting you can disable the integrated web-server.
This is useful if you want to only render the map-data for later use, or if you have set up your own webserver.
Default is true
webroot
The webroot that the server will host to the web.
Usually this should be set to the same directory like in the webapp.conf!
Default is "bluemap/web"
port
The port that the webserver listens on.
Default is 8100
log
Config-section for webserver-activity logging
file
The file where the webserver-activity will be written to.
Comment out to disable the logging completely.
Java String formatting syntax can be used to add time.
Default is no logging
append
Whether the logger should append to an existing file, or overwrite it
Default is false
format
The format of the webserver-activity logs.
The syntax is the Java String formatting.
Possible Arguments:
1 - the source address (ignoring any xff headers)
2 - the source address (using the (leftmost) xff header if provided)
3 - the http-method of the request
4 - the full request-address
5 - the protocol version of the request
6 - the status-code of the response
7 - the status-message of the response
Default is "%1$s \"%3$s %4$s %5$s\" %6$s %7$s"