Skip to content

Commit

Permalink
Add static response route for /health
Browse files Browse the repository at this point in the history
  • Loading branch information
git001 committed Mar 19, 2024
1 parent 52ebacc commit 71bd5c8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker-files/opt/webroot/config/Caddyfile-upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@
"default_logger_name": "myaccesslogger"
},
"routes": [
{
"match":[
{
"method": ["GET"],
"path": ["/health"]
}
],
"handle": [
{
"handler": "static_response",
"status_code": 200,
"body": "Okay",
"close": true
}
]
},
{
"match":[
{
Expand Down

0 comments on commit 71bd5c8

Please sign in to comment.