Skip to content

Commit

Permalink
Add nginx stub_status endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Apr 11, 2024
1 parent 7a2e5d9 commit 3dcc854
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ server {
uwsgi_socket_keepalive on;
uwsgi_pass 127.0.0.1:3010;
}

location /nginx_status {
stub_status;
allow 127.0.0.1;
deny all;
}
}

server {
Expand Down

0 comments on commit 3dcc854

Please sign in to comment.