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
This commit is contained in:
Rémy Coutable 2018-04-06 09:07:41 +00:00
commit 6cad73439b
1 changed files with 8 additions and 1 deletions

View File

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