Configure endpoint for healthcheck

This commit is contained in:
2020-05-01 17:42:59 -04:00
parent 84f6ca7434
commit 5fbbfba593
2 changed files with 23 additions and 1 deletions

10
server/nginx.conf Normal file
View File

@@ -0,0 +1,10 @@
server {
location / {
root /usr/share/nginx/html;
}
location /health {
return 200 'alive';
add_header Content-Type text/plain;
}
}