Skip to content

Commit

Permalink
#42 [Update] Health Check - 권한 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Jul 27, 2022
1 parent 05a3842 commit a21c7a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ else
fi

# Change proxying port into target port
echo "set \$service_url http://127.0.0.1:${TARGET_PORT};" | tee /home/ubuntu/service_url.inc
echo "set \$service_url http://127.0.0.1:${TARGET_PORT};" | sudo tee /home/ubuntu/service_url.inc

echo "> Now Nginx proxies to ${TARGET_PORT}."

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/mpnp/baechelin/util/Nginx.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public class Nginx {

@GetMapping("/health")
public String healthCheck() {
return "Health Check V3";
return "Health Check V4";
}

@GetMapping
public String main(){
return "Hello World!";
Expand Down

0 comments on commit a21c7a8

Please sign in to comment.