Skip to content

Commit 594f417

Browse files
author
Julien Pivotto
authored
Adapt https/web-config.yml (prometheus#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>
1 parent 217bbdd commit 594f417

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

https/web-config.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
tls_config:
2-
# Certificate and key files for server to use to authenticate to client
3-
cert_file: <filename>
4-
key_file: <filename>
1+
# Minimal TLS configuration example. Additionally, a certificate and a key file
2+
# are needed.
3+
tls_server_config:
4+
cert_file: server.crt
5+
key_file: server.key
56

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> ]

0 commit comments

Comments
 (0)