aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Pivotto <roidelapluie@inuits.eu>2020-06-04 17:49:37 +0200
committerGitHub <noreply@github.com>2020-06-04 17:49:37 +0200
commit594f417bdf6f49e145f1937af99e849377412354 (patch)
tree7e7c7c1b3e4e76c360cc7ac05aadb3a7c755b0f9
parent217bbdd6b9c273acb794b3fbcc060829e45f5180 (diff)
downloadprometheus_node_collector-594f417bdf6f49e145f1937af99e849377412354.tar.bz2
prometheus_node_collector-594f417bdf6f49e145f1937af99e849377412354.tar.xz
prometheus_node_collector-594f417bdf6f49e145f1937af99e849377412354.zip
Adapt https/web-config.yml (#1734)
Currently web-config is not a valid yaml and is an incomplete reference. Keep the reference in README.md and create a minimalist web-config.yml that acts as an exemple. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
-rw-r--r--https/web-config.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/https/web-config.yml b/https/web-config.yml
index 9937291..7d40d9b 100644
--- a/https/web-config.yml
+++ b/https/web-config.yml
@@ -1,11 +1,6 @@
1tls_config: 1# Minimal TLS configuration example. Additionally, a certificate and a key file
2 # Certificate and key files for server to use to authenticate to client 2# are needed.
3 cert_file: <filename> 3tls_server_config:
4 key_file: <filename> 4 cert_file: server.crt
5 key_file: server.key
5 6
6 # Server policy for client authentication. Maps to ClientAuth Policies
7 # For more detail on clientAuth options: [ClientAuthType](https://golang.org/pkg/crypto/tls/#ClientAuthType)
8 [ client_auth_type: <string> | default = "NoClientCert" ]
9
10 # CA certificate for client certificate authentication to the server
11 [ client_ca_file: <filename> ]