mirror of
https://github.com/octoleo/plantuml-server.git
synced 2025-01-03 05:00:14 +00:00
add jetty "host" property
Add the posibility to set the network interface the Jetty server connector binds to as an IP address or a hostname. If null or 0.0.0.0, then its automatically binds to all interfaces. Currently, the sercer connector uses 0.0.0.0 as fallback and always binds to all interfaces. References: <https://eclipse.dev/jetty/javadoc/jetty-11/org/eclipse/jetty/server/AbstractNetworkConnector.html#getHost()>
This commit is contained in:
parent
294b2a2418
commit
f03bb68407
@ -64,7 +64,8 @@
|
||||
</Array>
|
||||
</Arg>
|
||||
|
||||
<!-- Change port according to property. Default is 8080 -->
|
||||
<!-- Change host and port according to properties. Default is 0.0.0.0 and 8080. -->
|
||||
<Set name="host"><Property name="jetty.http.host" deprecated="jetty.host" default="0.0.0.0" /></Set>
|
||||
<Set name="port"><Property name="jetty.http.port" deprecated="jetty.port" default="8080" /></Set>
|
||||
</New>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user