Skip to content

Commit ffb58de

Browse files
committed
Merge pull request #171 from halflogic/patch-1
Improvements for README.md
2 parents 720ecad + 24f902c commit ffb58de

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

install/centos/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,22 +525,25 @@ ln -sf /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab
525525
```
526526

527527
Edit `/etc/nginx/nginx.conf` and replace `include /etc/nginx/conf.d/*.conf;`
528-
with `/etc/nginx/sites-enabled/*;`
528+
with `include /etc/nginx/sites-enabled/*;`
529+
530+
Edit `/etc/nginx/sites-available/gitlab` and replace `git.example.com` with your FQDN.
529531

530532
Add `nginx` user to `git` group.
531533

532534
usermod -a -G git nginx
533535
chmod g+rx /home/git/
534536

535-
Finally start nginx with:
536-
537-
service nginx start
538537

539538
**Note:** Don't forget to add a SSL certificate or generate a Self Signed Certificate
540539

541540
cd /etc/nginx
542541
openssl req -new -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key
543542

543+
Finally start nginx with:
544+
545+
service nginx start
546+
544547
### Apache
545548

546549
We will configure apache with module `mod_proxy` which is loaded by default when

0 commit comments

Comments
 (0)