Skip to content

Commit eba3d40

Browse files
author
Jordan Steele
committed
Fix bug in mock variable
1 parent 352d7a9 commit eba3d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx-pre-reload

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ API="api";
99
MOCK="mock";
1010

1111
echo "upstream $APP$API { server $IP:$((PORT-1)); }" > tmpfile
12-
echo "upstream $APP$API { server $IP:$((PORT-2)); }" > tmpfile
12+
echo "upstream $APP$MOCK { server $IP:$((PORT-2)); }" >> tmpfile
1313
cat $FIGURE_ROOT/$APP/nginx.conf >> tmpfile
1414
mv tmpfile $FIGURE_ROOT/$APP/nginx.conf

0 commit comments

Comments
 (0)