Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I add tls and basic_auth ? #124

Closed
itning opened this issue Dec 1, 2024 · 0 comments
Closed

How can I add tls and basic_auth ? #124

itning opened this issue Dec 1, 2024 · 0 comments

Comments

@itning
Copy link

itning commented Dec 1, 2024

in node_exporter, I can use this command to enable tls and basic auth.
./node_exporter --web.config.file=web-config.yml

web-config.yml

tls_server_config:
  cert_file: /root/node_exporter/fullchain.cer
  key_file: /root/node_exporter/xxx.key
basic_auth_users:
  username: xxx

so how can I add tls and basic_auth ?

@itning itning closed this as completed Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant