Skip to content
This repository was archived by the owner on Jun 21, 2019. It is now read-only.

Commit 8f32f4b

Browse files
author
yacut
committed
add health check route
1 parent eea4847 commit 8f32f4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nginx/kafka-rest-ui.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ server {
88
location /kafka-rest-ui {
99
rewrite ^/kafka-rest-ui/(.*)$ /$1 permanent;
1010
}
11+
location /admin/healthcheck {
12+
access_log off;
13+
return 200;
14+
}
1115

1216
include /etc/nginx/conf.d/*.location;
1317
}

0 commit comments

Comments
 (0)