Commit 3da9fb91 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis 🚀

Merge branch 'docs-update-session-server' into 'master'

fix example for session_server and added the note about where this section should be placed

See merge request !1035
parents cde4a2d1 43991501
Pipeline #31469418 passed with stages
in 28 minutes and 35 seconds
...@@ -64,8 +64,9 @@ be repeated after all requests for the other workers + their sleeps are called. ...@@ -64,8 +64,9 @@ be repeated after all requests for the other workers + their sleeps are called.
## The `[session_server]` section ## The `[session_server]` section
The session server allows the user to interact with jobs that the Runner is The section `[session_server]` is a system runner level configuration, so it should be specified at the root level,
responsible for. A good example of this is the not per executor i.e. it should be outside `[[runners]]` section. The session server allows the user to interact
with jobs that the Runner is responsible for. A good example of this is the
[interactive web terminal](https://docs.gitlab.com/ce/ci/interactive_web_terminal). [interactive web terminal](https://docs.gitlab.com/ce/ci/interactive_web_terminal).
Both `listen_address` and `advertise_address` should be provided in the form Both `listen_address` and `advertise_address` should be provided in the form
...@@ -87,7 +88,7 @@ Example: ...@@ -87,7 +88,7 @@ Example:
```bash ```bash
[session_server] [session_server]
listen_address = "0.0.0.0:8093" listen_address = "0.0.0.0:8093"
advertise_address = "gitlab.com:8093" advertise_address = "runner-host-name.tld:8093"
session_timeout = 1800 session_timeout = 1800
``` ```
......
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