Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows SSL termination at the load balancer #27

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion startup_scripts/looker
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi
# check if --no-ssl is specified in LOOKERARGS and set protocol accordingly
PROTOCOL=""

echo "${LOOKERARGS}" | grep -q "\-\-no\-ssl"
echo "${LOOKERARGS}" | grep -e "\-\-no\-ssl" -e "\-\-ssl-provided-externally-by"
if [ $? -eq 0 ]
then
PROTOCOL='http'
Expand Down
6 changes: 3 additions & 3 deletions startup_scripts/looker11
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ cd $HOME/looker
# set your java memory- there should be over 1.5G of system memory
# left to run the OS
MEM=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`
JM=`expr $MEM \* 6 / 10`
JM=`expr $MEM \* 8 / 10`
JAVAMEM="${JM}k"
METAMEM="800m"
METAMEM="2800m"

# Extra Java startup args and Looker startup args. These can also be set in
# a file named lookerstart.cfg
Expand All @@ -40,7 +40,7 @@ fi
# check if --no-ssl is specified in LOOKERARGS and set protocol accordingly
PROTOCOL=""

echo "${LOOKERARGS}" | grep -q "\-\-no\-ssl"
echo "${LOOKERARGS}" | grep -e "\-\-no\-ssl" -e "\-\-ssl-provided-externally-by"
if [ $? -eq 0 ]
then
PROTOCOL='http'
Expand Down
2 changes: 1 addition & 1 deletion startup_scripts/looker_mac
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi
PROTOCOL=""
LOOKERPORT=${LOOKERPORT:-"9999"}

echo "${LOOKERARGS}" | grep -q "\-\-no\-ssl"
echo "${LOOKERARGS}" | grep -e "\-\-no\-ssl" -e "\-\-ssl-provided-externally-by"
if [ $? -eq 0 ]
then
PROTOCOL='http'
Expand Down