DevLogs/Etc
한장의 메모 - nginx/stub_status 활성화 하기
밥먹고해요
2020. 3. 17. 16:23
vi /etc/nginx/include/basic.conf
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
nginx -t
nginx -s reload
curl -i http://localhost/nginx_status