While doing my 2.1.3 upgrade today, I was verifying that Linode's Longview and Newrelic were still functioning. I saw that Longview had an update which supported watching Nginx via it's /nginx_status url.

This prompted me to create a new vhost of localhost. I figured other Linode users would benefit from this Longview feature, but also thought that it might not hurt to see if BOA might not benefit from a default localhost vhost or at the very least enabling /nginx_status for 127.0.0.1.

Here's the vhost named localhost that I created.

server {
    listen 127.0.0.1:80;
    server_name 127.0.0.1;
    location /nginx_status {
      stub_status on;
      access_log off;
      allow 127.0.0.1;
      deny all;
    }
}

This, of course, could also be enabled via nginx_force_include.conf as a valid location but has nothing to do with BOA really.

Even if this is considered too much of an edge case I'm posting here for those linode users who search the issue queue. Here's the Linode docs.

https://library.linode.com/longview/longview-for-nginx#sph_id4

Comments

omega8cc’s picture

Status: Active » Fixed
omega8cc’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.