Commit 6cad7343 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'nathan.jones/gitlab-ce-patch-24' into 'master'

Update index.md to describe leaving out the host in prometheus['listen_address']…

See merge request gitlab-org/gitlab-ce!18207
parents fdffe54b 33c163b3
......@@ -62,7 +62,14 @@ To change the address/port that Prometheus listens on:
```
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
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