File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -525,22 +525,25 @@ ln -sf /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab
525
525
```
526
526
527
527
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.
529
531
530
532
Add ` nginx ` user to ` git ` group.
531
533
532
534
usermod -a -G git nginx
533
535
chmod g+rx /home/git/
534
536
535
- Finally start nginx with:
536
-
537
- service nginx start
538
537
539
538
** Note:** Don't forget to add a SSL certificate or generate a Self Signed Certificate
540
539
541
540
cd /etc/nginx
542
541
openssl req -new -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key
543
542
543
+ Finally start nginx with:
544
+
545
+ service nginx start
546
+
544
547
### Apache
545
548
546
549
We will configure apache with module ` mod_proxy ` which is loaded by default when
You can’t perform that action at this time.
0 commit comments