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

16 lines
311 B
Text
Raw Normal View History

server {
{% if inventory_hostname == "sl-nextcloud.kahlo" %}
listen 127.0.0.1:81;
{% else %}
listen 127.0.0.1;
{% endif %}
server_name localhost;
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.0/8;
allow ::1/128;
deny all;
}
}