mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 13:16:09 +10:00
+2
-2
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user