Answer the question
In order to leave comments, you need to log in
How to install GitLab on a subdomain?
Good day!
I have my own physical server running several sites (i.e. installed webserver, ispmanager, etc.).
I decided to install GitLab on a subdomain of one of the sites. I went through all the steps from the instructions, installed GitLab, specified the subdomain address in the config. Run a reconfiguration.
Question: how now to make GitLab open on the specified subdomain?
If I find instructions, then only GitLab is installed on the server alone, without "neighbors".
Where is GitLab installed in general (in what folder)?
I think many people have already solved a similar problem. Help advice, point direction.
Answer the question
In order to leave comments, you need to log in
Approximate sequence of actions (for CentOS 8).
1. Use the instruction ( https://gitlab.com/gitlab-org/omnibus-gitlab/blob/... ).
2. Reconfigure:
nano /etc/gitlab/gitlab.rb
nginx['enable'] = false
web_server['external_users'] = ['apache']
gitlab_rails['trusted_proxies'] = [ '#IP address#' ]
sudo gitlab-ctl reconfigure
nano /etc/nginx/conf.d/gitlab-ssl.conf
sudo systemctl restart nginx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question