Skip to content

Commit ba6dc41

Browse files
More logs
1 parent 2179ef6 commit ba6dc41

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

scripts/aws/entrypoint.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,8 @@ echo "Starting vsock proxy..."
2323

2424
/usr/sbin/syslog-ng --verbose
2525

26-
#!/bin/bash
27-
28-
URL="https://example.com"
29-
ping example.com
30-
curl -v https://example.com
31-
3226
# Send request and check response
33-
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" "$URL")
34-
35-
if [[ $RESPONSE -eq 200 ]]; then
36-
echo "Success: Received response from $URL"
37-
else
38-
echo "Failed: No response or HTTP code $RESPONSE"
39-
fi
27+
curl -s -x socks5h://127.0.0.1:3305 "https://example.com"
4028

4129
build_parameterized_config() {
4230
curl -s -f -o "${PARAMETERIZED_CONFIG}" -x socks5h://127.0.0.1:3305 http://127.0.0.1:27015/getConfig

0 commit comments

Comments
 (0)