add promtail url

This commit is contained in:
decentral1se 2022-03-18 11:36:40 +01:00
parent f29ca5c5c8
commit 9de71d0a50
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#export PROMTAIL_YML_VERSION=v1
export NODE_EXPORTER_ENTRYPOINT_VERSION=v1
export NGINX_CONFIG_VERSION=v2
export NGINX_CONFIG_VERSION=v3
export HTPASSWD_CONFIG_VERSION=v1

View File

@ -22,5 +22,11 @@ http {
auth_basic_user_file /etc/nginx/conf.d/.htpasswd;
proxy_pass http://{{ env "STACK_NAME" }}_cadvisor:8080;
}
location /promtail {
auth_basic "admin";
auth_basic_user_file /etc/nginx/conf.d/.htpasswd;
proxy_pass http://{{ env "STACK_NAME" }}_promtail:9080;
}
}
}