Configure endpoint for healthcheck
This commit is contained in:
10
server/nginx.conf
Normal file
10
server/nginx.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
server {
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
location /health {
|
||||
return 200 'alive';
|
||||
add_header Content-Type text/plain;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user