Skip to content

Commit

Permalink
feat: add health endpoint (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
taa-epam authored Apr 9, 2024
1 parent ff5043f commit aa0649d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nginx/themes.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ server {
add_header Cache-Control "public";
add_header Access-Control-Allow-Origin "*";
}

location = /health {
access_log off;
add_header 'Content-Type' 'application/json';
return 200 '{"status":"ok"}';
}
}

0 comments on commit aa0649d

Please sign in to comment.