mirror of
https://github.com/jlengrand/gitlab-recipes.git
synced 2026-03-10 08:11:17 +00:00
954 B
954 B
CentOS notes
In CentOS the apache logs are under /var/log/httpd so you have to either replace
apache with httpd in gitlab.conf or create the /var/log/apache2 directory.
Puma or unicorn
unicorn
Make sure that /home/git/gitlab/config/unicorn.rb exists
The default server is unicorn, so gitlab.conf is configured to listen on port 8080.
puma
Info taken from PR #87.
As apache's mod_proxy doesn't support sockets, we have to configure the
proxy URL to use tcp instead of unix sockets. First make sure that /home/git/gitlab/config/puma.rb exists.
Then you have to make 2 changes:
- In
gitlab.confreplacehttp://127.0.0.1:8080/withhttp://0.0.0.0:9292/ - Edit
puma.rb: comment outbind 'tcp://0.0.0.0:9292'and commentbind "unix://#{application_path}/tmp/sockets/gitlab.socket"