WIP: generiek nginx role

This commit is contained in:
Mark Janssen 2024-07-14 21:43:53 +02:00
parent ea3b17ef2d
commit 8df1cba71c
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
14 changed files with 278 additions and 15 deletions

View file

@ -0,0 +1,13 @@
# dashboard nginx config snippet
location /prometheus/ {
proxy_pass http://localhost:9090/prometheus/;
include proxy_params;
{% for host in bitlair_ip_whitelist %}
allow {{ host }};
{% endif %}
allow "127.0.0.0/8"
allow "::1";
deny all;
}