Hardik commited on
Commit
1110c9c
·
1 Parent(s): 18daf48

Add /ml-health endpoint for direct ML service access

Browse files
Files changed (1) hide show
  1. nginx.conf +6 -0
nginx.conf CHANGED
@@ -24,6 +24,12 @@ http {
24
  proxy_read_timeout 60s;
25
  }
26
 
 
 
 
 
 
 
27
  location / {
28
  try_files $uri $uri/ /index.html;
29
  }
 
24
  proxy_read_timeout 60s;
25
  }
26
 
27
+ location /ml-health {
28
+ proxy_pass http://127.0.0.1:8000/api/v1/health;
29
+ proxy_http_version 1.1;
30
+ proxy_set_header Host $host;
31
+ }
32
+
33
  location / {
34
  try_files $uri $uri/ /index.html;
35
  }