We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12271c6 commit 9f1054aCopy full SHA for 9f1054a
entrypoint.sh
@@ -49,7 +49,7 @@ fi
49
# }
50
echo -n "" >> /etc/nginx/upstreams.conf
51
52
-if [ "$UPSTREAM_MAPPINGS" ]; then
+if [ ! -z "$UPSTREAM_MAPPINGS" ]; then
53
54
for UPSTREAM in ${UPSTREAM_MAPPINGS}; do
55
echo "upstream ${UPSTREAM%=*} {" >> /etc/nginx/upstreams.conf
0 commit comments