Sha256: e5f1ae537394d7a12c5c6461d190e987ed1d064ccd4c163ffffb4fbeac32dfda

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

include authorized_ip;

server {
  listen <%= node['nginx']['status']['port'] %>;
  server_name _;

  location /nginx_status {
    if ($authorized_ip = no) {
      return 404;
    }
    stub_status on;
    access_log off;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/nginx/templates/default/modules/nginx_status.erb
from-scratch-0.6.0 cookbooks/nginx/templates/default/modules/nginx_status.erb
from-scratch-0.5.0 cookbooks/nginx/templates/default/modules/nginx_status.erb