Fix #197 health check issue when basic auth enabled (#198)

This commit is contained in:
2022-03-08 22:49:32 +11:00
committed by GitHub
parent a8db9193f8
commit 4485fd0437
4 changed files with 14 additions and 2 deletions
+4
View File
@@ -21,6 +21,10 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ping {
respond "pong"
}
root * /usr/local/www/aria2
file_server
+2 -2
View File
@@ -54,7 +54,7 @@ VOLUME /data
EXPOSE 80 443
HEALTHCHECK --interval=1m --timeout=3s \
CMD curl -f http://localhost || exit 1
HEALTHCHECK --interval=30s --timeout=3s \
CMD curl -f http://localhost/ping || exit 1
CMD ["./start.sh"]
+4
View File
@@ -27,6 +27,10 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ping {
respond "pong"
}
root * /usr/local/www/aria2
file_server
+4
View File
@@ -22,6 +22,10 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ping {
respond "pong"
}
root * /usr/local/www/aria2
file_server