Skip to content

Commit 6374584

Browse files
author
Samuel Esan
committed
chore: add healthcheck
1 parent 29f3660 commit 6374584

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nginx/default.conf.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ server {
44

55
server_name localhost;
66

7+
location = /health {
8+
access_log off;
9+
add_header 'Content-Type' 'application/json';
10+
return 200 '{ "status": "OK!" }';
11+
}
12+
713
location / {
814
root /usr/share/nginx/html;
915
index index.html;

0 commit comments

Comments
 (0)