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 352d7a9 commit eba3d40Copy full SHA for eba3d40
nginx-pre-reload
@@ -9,6 +9,6 @@ API="api";
9
MOCK="mock";
10
11
echo "upstream $APP$API { server $IP:$((PORT-1)); }" > tmpfile
12
-echo "upstream $APP$API { server $IP:$((PORT-2)); }" > tmpfile
+echo "upstream $APP$MOCK { server $IP:$((PORT-2)); }" >> tmpfile
13
cat $FIGURE_ROOT/$APP/nginx.conf >> tmpfile
14
mv tmpfile $FIGURE_ROOT/$APP/nginx.conf
0 commit comments