summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Kromlinger <justin@kromlinger.eu>2020-05-28 16:30:43 +0000
committerNick Thomas <nick@gitlab.com>2020-05-28 16:30:43 +0000
commit9c1409e43fa3b16dc59192ee8fa636aa7acb2e77 (patch)
treed5a240583ff53e422fbae116a7980d93cd4d9233
parent7d86c9a7061c6e0b2e9638b2f380d7d51b542f59 (diff)
downloadgitlab-shell-9c1409e43fa3b16dc59192ee8fa636aa7acb2e77.tar.gz
Use default puma socket in example config
The unicorn replacement 'puma' uses a unix socket in the example config [1] instead of a tcp port. Using the non-existing tcp port results in "Internal API unreachable" on git operations. [1] https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/puma.rb.example#L34
-rw-r--r--config.yml.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.yml.example b/config.yml.example
index 658839d..c2c1027 100644
--- a/config.yml.example
+++ b/config.yml.example
@@ -13,7 +13,7 @@ user: git
# only listen on a Unix domain socket. For Unix domain sockets use
# "http+unix://<urlquoted-path-to-socket>", e.g.
# "http+unix://%2Fpath%2Fto%2Fsocket"
-gitlab_url: "http://localhost:8080"
+gitlab_url: "http+unix://%2Fhome%2Fgit%2Fgitlab%2Ftmp%2Fsockets%2Fgitlab-workhorse.socket"
# See installation.md#using-https for additional HTTPS configuration details.
http_settings: