From e3d84599069fcee7dfbd925aa07569ec07d65b2f Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 3 Jan 2014 02:56:09 +0100 Subject: [PATCH] extend ssl enabled msg on status page - post the portnr --- htroot/Status.java | 3 ++- htroot/Status_p.inc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htroot/Status.java b/htroot/Status.java index e210cc382..68933ec9e 100644 --- a/htroot/Status.java +++ b/htroot/Status.java @@ -196,7 +196,8 @@ public class Status // ssl support prop.put("sslSupport", sb.getConfig("keyStore", "").isEmpty() || !sb.getConfigBool("server.https", false) ? 0 : 1); - + if (sb.getConfigBool("server.https", false)) prop.put("sslSupport_sslPort", sb.getHttpServer().getSslPort()); + if ( sb.getConfigBool("remoteProxyUse", false) ) { prop.put("remoteProxy", "1"); prop.putXML("remoteProxy_host", sb.getConfig("remoteProxyHost", "")); diff --git a/htroot/Status_p.inc b/htroot/Status_p.inc index 589b2a84e..affed50e4 100644 --- a/htroot/Status_p.inc +++ b/htroot/Status_p.inc @@ -29,7 +29,7 @@
Address
-
Host: #[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled#(/sslSupport)#
+
Host: #[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled (port #[sslPort]#)#(/sslSupport)#
#(peerAddress)# peer address not assigned ::