From e282ac5a3c2bcacc8e2b9f36d76362f5ec23f61a Mon Sep 17 00:00:00 2001 From: Alex Pardoe Date: Thu, 15 May 2014 13:04:17 +0100 Subject: [PATCH] Additional step to take into account possible changes from !112. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 3f56080..cc988bd 100644 --- a/README.md +++ b/README.md @@ -437,6 +437,13 @@ For a typical Passenger installation this file should probably be located at `/etc/nginx/sites-available/gitlab` and symlinked to `/etc/nginx/sites-enabled/gitlab`. +To ensure that user uploads are accessible your Nginx user (usually `www-data`) +should be added to the `git` group. This can be done using the following command: + +```shell +sudo usermod -aG git www-data +``` + Other than the Passenger configuration in place of Unicorn and the lack of HTTPS (although this could be enabled) this file is mostly identical to the [bundled Nginx configuration](files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb). -- libgit2 0.21.2