Skip to content

Commit

Permalink
Switch to using the SurfShark API for the health check, to check if t…
Browse files Browse the repository at this point in the history
…he connection is secured or not.
  • Loading branch information
dd32 authored Apr 18, 2023
1 parent 4d209b2 commit d9bc0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV LAN_NETWORK=
ENV CREATE_TUN_DEVICE=
ENV OVPN_CONFIGS=
ENV ENABLE_KILL_SWITCH=true
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s CMD curl -L 'https://ipinfo.io'
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s CMD curl -s https://api.surfshark.com/v1/server/user | grep '"secured":true'
COPY startup.sh .
COPY sockd.conf /etc/
COPY sockd.sh .
Expand Down

0 comments on commit d9bc0b1

Please sign in to comment.