16 lines
230 B
Plaintext
16 lines
230 B
Plaintext
|
#
|
||
|
# nginx health stub-site
|
||
|
#
|
||
|
|
||
|
server {
|
||
|
listen 80 default_server;
|
||
|
server_name _;
|
||
|
|
||
|
location /nginx_status {
|
||
|
stub_status;
|
||
|
|
||
|
# only permit local connections
|
||
|
allow 127.0.0.1;
|
||
|
deny all;
|
||
|
}
|
||
|
}
|