Skip to content

Commit

Permalink
add host configure to the httpEndpoint element in server.xml (#201)
Browse files Browse the repository at this point in the history
* Update server.xml

* Update server.xml
  • Loading branch information
gkwan-ibm authored Sep 13, 2024
1 parent ff4b10c commit 6a3b2ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions finish/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<variable name="http.port" defaultValue="9080"/>
<variable name="https.port" defaultValue="9443"/>

<httpEndpoint id="defaultHttpEndpoint"
<httpEndpoint id="defaultHttpEndpoint" host="*"
httpPort="${http.port}"
httpsPort="${https.port}" />

Expand Down Expand Up @@ -48,4 +48,4 @@
<!-- end::application-bnd[] -->
</application>
</server>
<!-- end::serverxml[] -->
<!-- end::serverxml[] -->
4 changes: 2 additions & 2 deletions start/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<variable name="http.port" defaultValue="9080"/>
<variable name="https.port" defaultValue="9443"/>

<httpEndpoint id="defaultHttpEndpoint"
<httpEndpoint id="defaultHttpEndpoint" host="*"
httpPort="${http.port}"
httpsPort="${https.port}" />

Expand All @@ -29,4 +29,4 @@
</application-bnd>
</application>

</server>
</server>

0 comments on commit 6a3b2ec

Please sign in to comment.