Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gjacobjn authored Aug 24, 2023
1 parent 3458a84 commit 1b39ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/nginx/root/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ ! -z "$GATEWAY_FASTCGI_HTTPS" ]; then
echo "GATEWAY_FASTCGI_HTTPS is defined : $GATEWAY_FASTCGI_HTTPS"
GATEWAY_FASTCGI_HTTPS="fastcgi_param HTTPS $GATEWAY_FASTCGI_HTTPS;"
if [ $GATEWAY_FASTCGI_HTTPS == "on" || $GATEWAY_FASTCGI_HTTPS == "1" ]; then
GATEWAY_FASTCGI_HTTPS=";fastcgi_param SERVER_PORT 443;"
GATEWAY_FASTCGI_HTTPS=`echo $GATEWAY_FASTCGI_HTTPS` ";fastcgi_param SERVER_PORT 443;"
fi
else
echo "NO GATEWAY_FASTCGI_HTTPS is defined"
Expand Down

0 comments on commit 1b39ba7

Please sign in to comment.