Updated Configuration (markdown)

Lukas Rieger 2020-08-26 01:55:59 +02:00
parent 9973d9fd7d
commit 798152a4ea

@ -87,6 +87,14 @@ However, this also has a few drawbacks:
## Webserver configuration: `webserver.conf`
The integrated web-server is the easiest way to host your map to the web, so you can view it in your browser. If enabled, it will host *(using `http`)* all files in the folder defined by the field `webroot` in this config on the defined `ip` and `port`.
```yaml
enabled: true
webroot: "bluemap/web"
ip: "123.45.6.78"
port: 8100
maxConnectionCount: 100
```
- With the `enabled` field you can enable (`true`) and disable (`false`) the integrated web-server.
- The `webroot` field in the `webserver.conf` defines the folder that the webserver will host to the web. This normally should be set to the same value as the `webroot` field in the `render.conf`.
- The field `ip` defines the IP-address the web-server will bind to. If you omit this field, bluemap binds to all network-interfaces (`0.0.0.0`). If you only want to access your app on the machine that is hosting the map, use `localhost`.