Skip to content

Commit

Permalink
feat: added health check
Browse files Browse the repository at this point in the history
  • Loading branch information
froid1911 committed Aug 15, 2024
1 parent d326389 commit b4e4b29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ server {
listen [::]:${PORT};
server_name localhost;

# healthcheck
location /healthz {
return 200 'OK!';
}

# drives graphql endpoint
location ${BASE_PATH}/drives {
proxy_pass ${BACKEND};
Expand Down

0 comments on commit b4e4b29

Please sign in to comment.