Improvements for README.md

Simple improvements to avoid some trip ups and save a few minutes of troubleshooting. The guide is quite long and it's easy to get into a habit of copy and pasting.
This commit is contained in:
halflogic
2013-12-10 11:24:43 -05:00
parent 720ecad7b5
commit 24f902c0b8

View File

@@ -525,22 +525,25 @@ ln -sf /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab
```
Edit `/etc/nginx/nginx.conf` and replace `include /etc/nginx/conf.d/*.conf;`
with `/etc/nginx/sites-enabled/*;`
with `include /etc/nginx/sites-enabled/*;`
Edit `/etc/nginx/sites-available/gitlab` and replace `git.example.com` with your FQDN.
Add `nginx` user to `git` group.
usermod -a -G git nginx
chmod g+rx /home/git/
Finally start nginx with:
service nginx start
**Note:** Don't forget to add a SSL certificate or generate a Self Signed Certificate
cd /etc/nginx
openssl req -new -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key
Finally start nginx with:
service nginx start
### Apache
We will configure apache with module `mod_proxy` which is loaded by default when