Created
January 17, 2019 22:29
-
-
Save akhdaniel/244e1681f25541f700392e7f44214edd to your computer and use it in GitHub Desktop.
Nginx Monitoring Plugin
This file contains hidden or 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
sudo apt-get install libwww-perl | |
Edit nginx.conf, bagian http | |
Test curl http://localhost/nginx_status | |
server { | |
listen 127.0.0.1; | |
server_name localhost; | |
location /nginx_status { | |
stub_status on; | |
access_log off; | |
allow 127.0.0.1; | |
deny all; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment