location /stub_status { # Turn on nginx stats stub_status on; # Disable access.log for stats access_log off; }
systemctl restart nginx