darkfire514 commited on
Commit
5253c8c
·
verified ·
1 Parent(s): 1e1cf7b

Update scripts/start-minio.sh

Browse files
Files changed (1) hide show
  1. scripts/start-minio.sh +12 -0
scripts/start-minio.sh CHANGED
@@ -64,6 +64,18 @@ http {
64
  try_files \$uri =404;
65
  }
66
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  location /minio/ {
68
  proxy_set_header Host \$host;
69
  proxy_set_header X-Real-IP \$remote_addr;
 
64
  try_files \$uri =404;
65
  }
66
 
67
+ location = /minio/health/live {
68
+ proxy_set_header Host \$host;
69
+ proxy_set_header Authorization "";
70
+ proxy_pass http://127.0.0.1:${MINIO_INTERNAL_PORT}/minio/health/live;
71
+ }
72
+
73
+ location = /minio/health/ready {
74
+ proxy_set_header Host \$host;
75
+ proxy_set_header Authorization "";
76
+ proxy_pass http://127.0.0.1:${MINIO_INTERNAL_PORT}/minio/health/ready;
77
+ }
78
+
79
  location /minio/ {
80
  proxy_set_header Host \$host;
81
  proxy_set_header X-Real-IP \$remote_addr;