Edit file /home/gitlab/gitlab/config/unicorn.rb
Find line listen "#{app_dir}/tmp/sockets/gitlab.socket"
and comment it.
Uncomment line listen "127.0.0.1:8080"
sudo a2enmod proxy
sudo a2enmod proxy_balancer
sudo a2enmod proxy_http
sudo a2enmod rewrite
hello, i want to use apache for gitlab, and got this gitlab.yml like this
GitLab settings
gitlab:
## Web server settings (note: host is the FQDN, do not include http://)
host: 54.xxx.xxx.xx
port: 80
https: false
and on unicorn.rb
What ports/sockets to listen on, and what options for them.
listen "127.0.0.1:8080", :tcp_nopush => true
listen "/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket", :backlog => 1024
working_directory '/var/opt/gitlab/gitlab-rails/working'
so if i want to switch to apache only comment this line ?
listen "/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket", :backlog => 1024
and put this lines on httpd.conf
<VirtualHost *:80>
ServerName git.domain.com.au
ServerAlias git # this allows short name access within the domain
DocumentRoot /var/opt/gitlab
how about gitlab.yml setting
there is port config
port: 80
do i need to comment it ?
thanks a lot :)