Commit 9eb156ae authored by Jacob Vosmaer's avatar Jacob Vosmaer Committed by Alessio Caiazza

Add table explaining interaction between authBackend and authSocket

parent 9301e2ff
...@@ -147,6 +147,23 @@ the `authBackend` setting: ...@@ -147,6 +147,23 @@ the `authBackend` setting:
gitlab-workhorse -authBackend http://localhost:8080/gitlab gitlab-workhorse -authBackend http://localhost:8080/gitlab
``` ```
### Interaction of authBackend and authSocket
The interaction between `authBackend` and `authSocket` can be a bit
confusing. It comes down to: if `authSocket` is set it overrides the
_host_ part of `authBackend` but not the relative path.
In table form:
|authBackend|authSocket|Workhorse connects to?|Rails relative URL|
|---|---|---|---|
|unset|unset|`localhost:8080`|`/`|
|`http://localhost:3000`|unset|`localhost:3000`|`/`|
|`http://localhost:3000/gitlab`|unset|`localhost:3000`|`/gitlab`|
|unset|`/path/to/socket`|`/path/to/socket`|`/`|
|`http://localhost:3000`|`/path/to/socket`|`/path/to/socket`|`/`|
|`http://localhost:3000/gitlab`|`/path/to/socket`|`/path/to/socket`|`/gitlab`|
## Installation ## Installation
To install gitlab-workhorse you need [Go 1.8 or To install gitlab-workhorse you need [Go 1.8 or
......
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