This feature is available with JobScheduler Master releases starting from 1.11.4
-
JS-1722Getting issue details...
STATUS
Use the attribute http_port and https_port in ./config/scheduler.xml
http and https port configuration without binding of a specific interface
<spooler> <config mail_xslt_stylesheet="config/scheduler_mail.xsl" http_port="40444" https_port="48444" > ... </config> </spooler>
- In above example the JobScheduler Master listens to all available interfaces when using http and https.
- The http port and the https port must be different port numbers.
Indicating which network interfaces should listen to when using http
- The value of attribute
http_port
in theconfig
element of the ./config/scheduler.xml can have the formhttp_port="[ip address or hostname:]port"
- If only a port is specified then the JobScheduler Master listens to all available network interfaces.
- It is the same like
http_port="0.0.0.0:port"
. - If a hostname or ip address is specified in addition then it indicates which network interfaces the JobScheduler Master should listen to.
Indicating which network interfaces should listen to when using https
- The value of attribute
https_port
in theconfig
element of the ./config/scheduler.xml can have the formhttps_port="[ip address or hostname:]port"
- If only a port is specified then the JobScheduler Master listens to all available network interfaces.
- It is the same like
https_port="0.0.0.0:port"
. - If a hostname or ip address is specified in addition then it indicates which network interfaces the JobScheduler Master should listen to.
Requirements
- A http port setting is required for some components of the JobScheduler Master such as the plugins and the startscript.
- It is not possible to use https only but you can bind "localhost" to the http port.
most secure setting
<spooler> <config mail_xslt_stylesheet="config/scheduler_mail.xsl" http_port="localhost:40444" https_port="myHost:48444" > ... </config> </spooler>