You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by md...@apache.org on 2020/04/28 18:28:54 UTC
[lucene-solr] branch master updated: SOLR-14412 only set ssl props
when ssl enabled
This is an automated email from the ASF dual-hosted git repository.
mdrob pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new 0fc5179 SOLR-14412 only set ssl props when ssl enabled
0fc5179 is described below
commit 0fc5179c6a7247b2a6df93459cd29aec4d60658d
Author: Mike Drob <md...@apache.org>
AuthorDate: Tue Apr 28 13:24:15 2020 -0500
SOLR-14412 only set ssl props when ssl enabled
---
solr/bin/solr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/bin/solr b/solr/bin/solr
index 9711dbd..27e625f 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -2142,7 +2142,7 @@ function start_solr() {
fi
# If SSL-related system props are set, add them to SOLR_OPTS
- if [ "$SOLR_SSL_ENABLED" ]; then
+ if [ "$SOLR_SSL_ENABLED" == "true" ]; then
# If using SSL and solr.jetty.https.port not set explicitly, use the jetty.port
SSL_PORT_PROP="-Dsolr.jetty.https.port=$SOLR_PORT"
SOLR_OPTS+=($SOLR_SSL_OPTS "$SSL_PORT_PROP")