commit
e52cb32f9a
1 changed files with 2 additions and 2 deletions
|
@ -224,7 +224,7 @@ Edit /etc/nginx/nginx.conf. Add next code to **http** section:
|
|||
|
||||
server {
|
||||
listen YOUR_SERVER_IP:80;
|
||||
server_name gitlab.YOUR_SUBDOMAIN.com;
|
||||
server_name gitlab.YOUR_DOMAIN.com;
|
||||
root /home/gitlab/gitlab/public;
|
||||
|
||||
# individual nginx logs for this gitlab vhost
|
||||
|
@ -251,7 +251,7 @@ Edit /etc/nginx/nginx.conf. Add next code to **http** section:
|
|||
|
||||
}
|
||||
|
||||
mygitlab.com - change to your domain.
|
||||
gitlab.YOUR_DOMAIN.com - change to your domain.
|
||||
|
||||
Restart nginx:
|
||||
|
||||
|
|
Loading…
Reference in a new issue