Commit e282ac5a3c2bcacc8e2b9f36d76362f5ec23f61a

Authored by Alex Pardoe
1 parent 1c5fa9d5

Additional step to take into account possible changes from !112.

Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
@@ -437,6 +437,13 @@ For a typical Passenger installation this file should probably @@ -437,6 +437,13 @@ For a typical Passenger installation this file should probably
437 be located at `/etc/nginx/sites-available/gitlab` and symlinked to 437 be located at `/etc/nginx/sites-available/gitlab` and symlinked to
438 `/etc/nginx/sites-enabled/gitlab`. 438 `/etc/nginx/sites-enabled/gitlab`.
439 439
  440 +To ensure that user uploads are accessible your Nginx user (usually `www-data`)
  441 +should be added to the `git` group. This can be done using the following command:
  442 +
  443 +```shell
  444 +sudo usermod -aG git www-data
  445 +```
  446 +
440 Other than the Passenger configuration in place of Unicorn and the lack of HTTPS 447 Other than the Passenger configuration in place of Unicorn and the lack of HTTPS
441 (although this could be enabled) this file is mostly identical to the 448 (although this could be enabled) this file is mostly identical to the
442 [bundled Nginx configuration](files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb). 449 [bundled Nginx configuration](files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb).