Skip to content

Instantly share code, notes, and snippets.

Created January 23, 2018 05:00
What would you like to do?

unicorn config file

Edit file /home/gitlab/gitlab/config/unicorn.rb

Find line listen "#{app_dir}/tmp/sockets/gitlab.socket" and comment it. Uncomment line listen ""

required modules for apache

  • sudo a2enmod proxy
  • sudo a2enmod proxy_http
<VirtualHost *:80>
# Custom log file locations
ErrorLog /var/log/apache2/gitlab_error.log
CustomLog /var/log/apache2/gitlab_access.log combined
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /
<Location />
ProxyPassReverse /
Order deny,allow
Allow from all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment