ansible-role-nginx/templates/local-statistics.j2

11 lines
242 B
Django/Jinja

server {
listen 127.0.0.1:{{ nginx_port | default(80) }};
server_name localhost;
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.0/8;
allow ::1/128;
deny all;
}
}