-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a01e59
commit 91abcd9
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file creates a stub_status page for Nginx reachable (internal only) at http://127.0.0.1:8080/status_page | ||
|
||
# This file is compatible with NixStats (URL change in config required) | ||
# https://help.nixstats.com/en/article/monitoring-nginx-50nu7f/ | ||
|
||
server { | ||
listen 127.0.0.1:8080; | ||
server_name localhost; | ||
location /status_page { | ||
stub_status on; | ||
allow 127.0.0.1; | ||
deny all; | ||
} | ||
} |