공부
[nginx] configure
승가비
2019. 7. 28. 19:03
728x90
# vi nginx.conf
location /nginx_status {
# Turn on stats
stub_status on;
access_log off;
# only allow access from 192.168.1.5 #
allow 192.168.1.5;
deny all;
}
# service nginx reload
# nginx -s reload
[출처] https://www.cyberciti.biz/faq/nginx-see-active-connections-connections-per-seconds/
728x90