mirror of
https://github.com/wahyd4/aria2-ariang-docker.git
synced 2026-08-08 21:05:50 +10:00
Refine the health point to return current app version, just for debuging issues (#200)
This commit is contained in:
@@ -22,7 +22,7 @@ route /files/* {
|
||||
}
|
||||
|
||||
route /ping {
|
||||
respond "pong"
|
||||
respond "app version: {env.APP_VERSION}"
|
||||
}
|
||||
|
||||
root * /usr/local/www/aria2
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
{
|
||||
debug
|
||||
admin off
|
||||
auto_https off
|
||||
}
|
||||
@@ -28,7 +27,7 @@ route /files/* {
|
||||
}
|
||||
|
||||
route /ping {
|
||||
respond "pong"
|
||||
respond "app version: {env.APP_VERSION}"
|
||||
}
|
||||
|
||||
root * /usr/local/www/aria2
|
||||
|
||||
+1
-2
@@ -1,4 +1,3 @@
|
||||
|
||||
{$DOMAIN}
|
||||
|
||||
basicauth / {
|
||||
@@ -23,7 +22,7 @@ route /files/* {
|
||||
}
|
||||
|
||||
route /ping {
|
||||
respond "pong"
|
||||
respond "app version: {env.APP_VERSION}"
|
||||
}
|
||||
|
||||
root * /usr/local/www/aria2
|
||||
|
||||
Reference in New Issue
Block a user