You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2017/11/20 12:45:24 UTC

incubator-unomi git commit: UNOMI-124 Introduction of private (internal address) - Default to using HTTP for the public address to avoid issues when testing because by default we use a self-signed certificate that most (modern) browser will reject by def

Repository: incubator-unomi
Updated Branches:
  refs/heads/master 4efae4048 -> be70e6952


UNOMI-124 Introduction of private (internal address)
- Default to using HTTP for the public address to avoid issues when testing because by default we use a self-signed certificate that most (modern) browser will reject by default.

Signed-off-by: Serge Huber <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/be70e695
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/be70e695
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/be70e695

Branch: refs/heads/master
Commit: be70e69522ff8404cf8f51fb94dea3235251a969
Parents: 4efae40
Author: Serge Huber <sh...@apache.org>
Authored: Mon Nov 20 13:45:16 2017 +0100
Committer: Serge Huber <sh...@apache.org>
Committed: Mon Nov 20 13:45:16 2017 +0100

----------------------------------------------------------------------
 services/src/main/resources/org.apache.unomi.cluster.cfg | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/be70e695/services/src/main/resources/org.apache.unomi.cluster.cfg
----------------------------------------------------------------------
diff --git a/services/src/main/resources/org.apache.unomi.cluster.cfg b/services/src/main/resources/org.apache.unomi.cluster.cfg
index b6498e7..36cf790 100644
--- a/services/src/main/resources/org.apache.unomi.cluster.cfg
+++ b/services/src/main/resources/org.apache.unomi.cluster.cfg
@@ -15,8 +15,10 @@
 # limitations under the License.
 #
 group=default
-contextserver.publicAddress=https://localhost:9443
-contextserver.internalAddress=http://127.0.0.1:8181
+# To simplify testing we set the public address to use HTTP, but for production environments it is highly recommended
+# to switch to using HTTPS with a proper SSL certificate installed.
+contextserver.publicAddress=http://localhost:8181
+contextserver.internalAddress=https://localhost:9443
 #
 # The nodeStatisticsUpdateFrequency controls the frequency of the update of system statistics such as CPU load,
 # system load average and uptime. This value is set in milliseconds and is set to 10 seconds by default. Each node