Skip to content

Instantly share code, notes, and snippets.

@rajesh2k3
Forked from mateobur/nginx.conf
Created February 7, 2019 08:58
Show Gist options
  • Select an option

  • Save rajesh2k3/30f2d5542a60ef6ae5683f55c62798a8 to your computer and use it in GitHub Desktop.

Select an option

Save rajesh2k3/30f2d5542a60ef6ae5683f55c62798a8 to your computer and use it in GitHub Desktop.

Revisions

  1. @mateobur mateobur created this gist May 14, 2017.
    11 changes: 11 additions & 0 deletions nginx.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    ...
    server{
    server_name _;

    location /nginx_status {
    stub_status on;
    access_log on;

    <deny/allow directives for your scenario>
    }
    ...