Nginx, Passenger and Workhorse


I’m running the current version of Gitlab from source served by Nginx via Passenger. Now, I’d like to enable CI and have installed gitlab-ci-multi-runner and gitlab-workhorse. I got pretty far, however, I’m stuck with a 502 when trying to clone via HTTPS or when CI tries to checkout.

After reading through a lot of examples for Omnibus or Unicorn-based installs, I assume that the problem comes from workhorse’s “authBackend” setting. In a Unicorn setup this usually points to “http://localhost:8080” in order not to go thru Nginx.

Any idea how this has to be configured when serving via Nginx and Passenger?

Thanks a lot for any hints! -sven