How to enable nginx stub status

How to enable nginx stub status

Edit nginx.conf add in the server { ….. } block/context

For Plesk edit  /etc/nginx/plesk.conf.d/server.conf