Skip to content

Commit 71bd5c8

Browse files
committed
Add static response route for /health
1 parent 52ebacc commit 71bd5c8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docker-files/opt/webroot/config/Caddyfile-upload.json

+16
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@
1212
"default_logger_name": "myaccesslogger"
1313
},
1414
"routes": [
15+
{
16+
"match":[
17+
{
18+
"method": ["GET"],
19+
"path": ["/health"]
20+
}
21+
],
22+
"handle": [
23+
{
24+
"handler": "static_response",
25+
"status_code": 200,
26+
"body": "Okay",
27+
"close": true
28+
}
29+
]
30+
},
1531
{
1632
"match":[
1733
{

0 commit comments

Comments
 (0)