Dunno what kind of test case you want, but basically try to start nginx with this in your config:
server {
listen 127.0.0.1;
server_name localhost;
location /nginx_status { stub_status on; access_log off;
allow 127.0.0.1;
deny all;
}
}
If it refuses to start due to stub_status line, then it's not fixed. Otherwise, it will just start.
Dunno what kind of test case you want, but basically try to start nginx with this in your config:
stub_ status on;
access_ log off;
server {
listen 127.0.0.1;
server_name localhost;
location /nginx_status {
allow 127.0.0.1;
deny all;
}
}
If it refuses to start due to stub_status line, then it's not fixed. Otherwise, it will just start.