The HTTP server can be configured using any of all of the following properties. Note that these settings only apply to the default implementation provided by Tigase HTTP API.
8080
will be usedIt is used to group configurations passed to ports
For every {port}
you can pass separate configuration. To do so you will need to replace {port}
with port number, ie. 8080
. For every port you can pass following properties:
Sets type of socket used for handling incoming connections. Accepted values are:
plain
- port will work in plain HTTP mode (default)ssl
- port will work in HTTPS modesocket
is set to ssl
). If it is not set (or it will be omitted) then Tigase XMPP Server will try to use SSL certificate for the host to which client tries to connect. If there will be no SSL certificate for that domain name, then default SSL certificate of Tigase XMPP Server will be used.With embedded HTTP server, you have a few additional properties within executor
section, which you can pass to adjust this HTTP server.
Name of the subsection
10
30000
2000