status.conf.j2 285 B

12345678910111213
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. server {
  6. server_name localhost;
  7. location /nginx_status {
  8. stub_status on;
  9. access_log off;
  10. allow 127.0.0.1;
  11. deny all;
  12. }
  13. }