Skip to content

Commit 9f1054a

Browse files
HishamHisham
authored andcommitted
bugfix
1 parent 12271c6 commit 9f1054a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fi
4949
# }
5050
echo -n "" >> /etc/nginx/upstreams.conf
5151

52-
if [ "$UPSTREAM_MAPPINGS" ]; then
52+
if [ ! -z "$UPSTREAM_MAPPINGS" ]; then
5353

5454
for UPSTREAM in ${UPSTREAM_MAPPINGS}; do
5555
echo "upstream ${UPSTREAM%=*} {" >> /etc/nginx/upstreams.conf

0 commit comments

Comments
 (0)