1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

update cfg

This commit is contained in:
L3D 2023-11-25 04:32:26 +01:00
parent 56cf8dcb84
commit b2e1729ff4
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
7 changed files with 22 additions and 10 deletions

View file

@ -118,4 +118,4 @@ nginx__infrastructure_domain__enabled: false
# l3d.nginx_exporter # l3d.nginx_exporter
nginx_exporter_listen_address: '127.0.0.1:9113' nginx_exporter_listen_address: '127.0.0.1:9113'
nginx_exporter_scrape_uri: 'https://node-exporter.mail01.l3d.space/stub_status' nginx_exporter_scrape_uri: 'https://node-exporter.mail01.l3d.space/nginx_status'

View file

@ -46,4 +46,4 @@ grafana_dashboards:
# l3d.nginx_exporter # l3d.nginx_exporter
nginx_exporter_listen_address: '127.0.0.1:9113' nginx_exporter_listen_address: '127.0.0.1:9113'
nginx_exporter_scrape_uri: 'https://node-exporter.services.l3d.space/stub_status' nginx_exporter_scrape_uri: 'https://node-exporter.services.l3d.space/nginx_status'

View file

@ -271,4 +271,4 @@ gitea_show_registration_button: "{{ _gitea_show_registration_button }}"
# l3d.nginx_exporter # l3d.nginx_exporter
nginx_exporter_listen_address: '127.0.0.1:9113' nginx_exporter_listen_address: '127.0.0.1:9113'
nginx_exporter_scrape_uri: 'https://node-exporter.web01.l3d.space/stub_status' nginx_exporter_scrape_uri: 'https://node-exporter.web01.l3d.space/nginx_status'

@ -1 +1 @@
Subproject commit 267a2c108a147c12cf66251af2b92b05d9ef166c Subproject commit 379ee27796c3ceb64de1f4f2ad49a50b5a74391f

View file

@ -26,8 +26,12 @@ server {
stub_status; stub_status;
allow 127.0.0.1; # allow requests from localhost allow 127.0.0.1; # allow requests from localhost
allow ::1; # allow requests from localhost allow ::1; # allow requests from localhost
allow {{ prometheus_v4 }}; # allow prometheus IPv4 {% for ipv4 in ansible_all_ipv4_addresses %}
allow {{ prometheus_v6 }}; # allow prometheus IPv6 allow {{ ipv4 }}; # allow local ipv4 address
{% endfor %}
{% for ipv6 in ansible_all_ipv6_addresses %}
allow {{ ipv6 }}; # allow local ipv6 address
{% endfor %}
deny all; # deny all other hosts deny all; # deny all other hosts
} }
} }

View file

@ -26,8 +26,12 @@ server {
stub_status; stub_status;
allow 127.0.0.1; # allow requests from localhost allow 127.0.0.1; # allow requests from localhost
allow ::1; # allow requests from localhost allow ::1; # allow requests from localhost
allow {{ prometheus_v4 }}; # allow prometheus IPv4 {% for ipv4 in ansible_all_ipv4_addresses %}
allow {{ prometheus_v6 }}; # allow prometheus IPv6 allow {{ ipv4 }}; # allow local ipv4 address
{% endfor %}
{% for ipv6 in ansible_all_ipv6_addresses %}
allow {{ ipv6 }}; # allow local ipv6 address
{% endfor %}
deny all; # deny all other hosts deny all; # deny all other hosts
} }
} }

View file

@ -26,8 +26,12 @@ server {
stub_status; stub_status;
allow 127.0.0.1; # allow requests from localhost allow 127.0.0.1; # allow requests from localhost
allow ::1; # allow requests from localhost allow ::1; # allow requests from localhost
allow {{ prometheus_v4 }}; # allow prometheus IPv4 {% for ipv4 in ansible_all_ipv4_addresses %}
allow {{ prometheus_v6 }}; # allow prometheus IPv6 allow {{ ipv4 }}; # allow local ipv4 address
{% endfor %}
{% for ipv6 in ansible_all_ipv6_addresses %}
allow {{ ipv6 }}; # allow local ipv6 address
{% endfor %}
deny all; # deny all other hosts deny all; # deny all other hosts
} }
} }