Similar to the previous post about the Apache Server status page, but this time for the Nginx Server.
# install additional modules, easiest way is to install nginx-full packagesudoapt-getinstall-ynginx-full# update the nginx default config filesudonano/etc/nginx/sites-available/default# add below block in `server` blocklocation/server-status{stub_status;}sudonginx-tsudonginx-sreload
After that, you can visit the page /server-status to see the results. In my case, it’s http://qt:8001/server-status