Fixing passing system properties and adding http.host option
This commit is contained in:
parent
7891daef73
commit
ee82391bd2
2 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ do
|
|||
break
|
||||
;;
|
||||
*)
|
||||
if [[ $1 = -* || ! $1 =~ ^-.* ]]; then
|
||||
if [[ $1 = --* || ! $1 =~ ^-.* ]]; then
|
||||
CONFIG_ARGS="$CONFIG_ARGS $1"
|
||||
else
|
||||
SERVER_OPTS="$SERVER_OPTS $1"
|
||||
|
|
|
@ -71,6 +71,7 @@ public final class PropertyMappers {
|
|||
|
||||
return enabled ? "enabled" : "disabled";
|
||||
}, "Enables the HTTP listener.");
|
||||
createWithDefault("http.host", "quarkus.http.host", "0.0.0.0", "The HTTP host.");
|
||||
createWithDefault("http.port", "quarkus.http.port", String.valueOf(8080), "The HTTP port.");
|
||||
createWithDefault("https.port", "quarkus.http.ssl-port", String.valueOf(8443), "The HTTPS port.");
|
||||
createWithDefault("https.client-auth", "quarkus.http.ssl.client-auth", "none", "Configures the server to require/request client authentication. none, request, required.");
|
||||
|
|
Loading…
Reference in a new issue