Browse Source

Use HTTP for healthcheck command

Agus Lopez 1 year ago
parent
commit
c5af2774e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -14,7 +14,7 @@ COPY torrc /etc/tor/torrc
 EXPOSE 9050/tcp
 
 HEALTHCHECK --interval=5m --timeout=5s \
-  CMD timeout 2 curl -sfo /dev/null --socks5-hostname 127.0.0.1:9050 'https://check.torproject.org'
+  CMD timeout 2 curl -sfo /dev/null --socks5-hostname 127.0.0.1:9050 'http://check.torproject.org'
 
 USER debian-tor