diff --git a/scripts/switch.sh b/scripts/switch.sh index 5bee6b5..cab5a3a 100644 --- a/scripts/switch.sh +++ b/scripts/switch.sh @@ -19,7 +19,7 @@ else fi # Change proxying port into target port -echo "set \$service_url http://127.0.0.1:${TARGET_PORT};" | sudo tee /home/ubuntu/service_url.inc +echo "set \$service_url http://3.36.221.172:${TARGET_PORT};" | sudo tee /home/ubuntu/service_url.inc echo "> Now Nginx proxies to ${TARGET_PORT}."