Commit 33c163b3 authored by Nathan Jones's avatar Nathan Jones Committed by Rémy Coutable

Update index.md to describe leaving out the host in...

Update index.md to describe leaving out the host in prometheus['listen_address'] to allow public access.
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 38bf1922
...@@ -62,7 +62,14 @@ To change the address/port that Prometheus listens on: ...@@ -62,7 +62,14 @@ To change the address/port that Prometheus listens on:
``` ```
Replace `localhost:9090` with the address/port you want Prometheus to Replace `localhost:9090` with the address/port you want Prometheus to
listen on. listen on. If you would like to allow access to Prometheus to hosts other
than `localhost`, leave out the host, or use `0.0.0.0` to allow public access:
```ruby
prometheus['listen_address'] = ':9090'
# or
prometheus['listen_address'] = '0.0.0.0:9090'
```
1. Save the file and [reconfigure GitLab][reconfigure] for the changes to 1. Save the file and [reconfigure GitLab][reconfigure] for the changes to
take effect take effect
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment