Skip to content
Snippets Groups Projects
Commit 9eb156ae authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab) Committed by Alessio Caiazza
Browse files

Add table explaining interaction between authBackend and authSocket

parent 9301e2ff
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -147,6 +147,23 @@ the `authBackend` setting:
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
 
To install gitlab-workhorse you need [Go 1.8 or
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment