C5
This commit is contained in:
@@ -65,5 +65,16 @@ http {
|
|||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
return 200 "ok\n";
|
return 200 "ok\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /internal/status {
|
||||||
|
access_log off;
|
||||||
|
default_type text/plain;
|
||||||
|
|
||||||
|
if ($remote_addr != 127.0.0.1) {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 200 "internal ok\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user