20 lines
247 B
Markdown
20 lines
247 B
Markdown
|
### 1、增加conf文件
|
||
|
|
||
|
```bash
|
||
|
server {
|
||
|
listen localhost;
|
||
|
server_name status.localhost;
|
||
|
keepalive_timeout 0;
|
||
|
|
||
|
access_log off;
|
||
|
|
||
|
allow 127.0.0.1;
|
||
|
deny all;
|
||
|
|
||
|
location /stub_status {
|
||
|
stub_status on;
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|