Skip to content

Commit 0161325

Browse files
author
Signal Linden
authored
Merge pull request #1 from secondlife/signal/status
Added nginx status endpoint
2 parents 58a19f6 + 3dacce7 commit 0161325

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/etc/nginx/conf.d/status.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# NGINX status/stats used by datadog, et al.
2+
server {
3+
listen 81;
4+
server_name localhost;
5+
6+
access_log off;
7+
allow 127.0.0.1;
8+
deny all;
9+
10+
location /nginx_status {
11+
stub_status;
12+
# ensures the version information can be retrieved
13+
server_tokens on;
14+
}
15+
}

0 commit comments

Comments
 (0)