Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
add basic auth for prometheus api
Browse files Browse the repository at this point in the history
  • Loading branch information
bitnik committed Feb 12, 2020
1 parent 63edea0 commit f657f22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions load_balancer/sites-available/orc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ server {
}
# Prometheus
location /prometheus/ {
auth_basic "Administrator's Area";
auth_basic_user_file /etc/letsencrypt/.htpasswd_prometheus;
# https://github.com/prometheus/prometheus/issues/2193
proxy_set_header Accept-Encoding "";
proxy_pass http://prometheus/;
Expand Down

0 comments on commit f657f22

Please sign in to comment.