Skip to content

Commit

Permalink
chore: service-url.inc 파일명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jun02160 committed Dec 21, 2024
1 parent 4907ca9 commit a8c0a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/nginx_reload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ reload_nginx() {

echo "▶️ Nginx Reload (Port switching applied) ..."

echo "set \$service_url http://127.0.0.1:${PORT};" | sudo tee /etc/nginx/conf.d/service-url.inc
echo "set \$service_url http://127.0.0.1:${PORT};" | sudo tee /etc/nginx/conf.d/playground-url.inc
sudo nginx -s reload
echo "Current running Port after switching: $(sudo cat /etc/nginx/conf.d/service-url.inc)"
echo "Current running Port after switching: $(sudo cat /etc/nginx/conf.d/playground-url.inc)"
}

0 comments on commit a8c0a66

Please sign in to comment.