mirror of
https://github.com/prometheus/prometheus.git
synced 2025-07-03 11:03:25 +00:00
Merge pull request #8327 from roidelapluie/tlsexemple
https: Add example configuration file
This commit is contained in:
commit
5bd7145e55
2 changed files with 14 additions and 0 deletions
12
documentation/examples/web-config.yml
Normal file
12
documentation/examples/web-config.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# TLS and basic authentication configuration example.
|
||||
#
|
||||
# Additionally, a certificate and a key file are needed.
|
||||
tls_server_config:
|
||||
cert_file: server.crt
|
||||
key_file: server.key
|
||||
|
||||
# Usernames and passwords required to connect to Prometheus.
|
||||
# Passwords are hashed with bcrypt: https://github.com/prometheus/exporter-toolkit/blob/master/https/README.md#about-bcrypt
|
||||
basic_auth_users:
|
||||
alice: $2y$10$mDwo.lAisC94iLAyP81MCesa29IzH37oigHC/42V2pdJlUprsJPze
|
||||
bob: $2y$10$hLqFl9jSjoAAy95Z/zw8Ye8wkdMBM8c5Bn1ptYqP/AXyV0.oy0S8m
|
Loading…
Add table
Add a link
Reference in a new issue