Created
October 26, 2015 10:28
-
-
Save homam/ca662449d890ec787424 to your computer and use it in GitHub Desktop.
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 software-properties-common | |
| sudo add-apt-repository ppa:nginx/stable | |
| sudo apt-get update | |
| sudo apt-get install nginx-full | |
| nginx -V 2>&1 | grep -o with-http_stub_status_module |
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
| location /nginx_status { | |
| stub_status on; | |
| access_log off; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment