티스토리 뷰

공부

[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

'공부' 카테고리의 다른 글

[SQL] `NOT IN` & `NOT EXISTS` too slow  (0) 2019.08.17
[crontab] python3 not working  (0) 2019.08.17
[UTF-8] 인코딩 BOM(Byte Order Mark)  (0) 2019.07.28
[Java] CollectionsUtils.sort  (0) 2019.07.28
Easy way to convert Iterable to Collection  (0) 2019.07.28
댓글