This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:gitlab [2013/02/22 18:04] razvan created |
tutorials:gitlab [2013/02/22 18:58] razvan |
||
---|---|---|---|
Line 14: | Line 14: | ||
Checking Sidekiq ... Finished | Checking Sidekiq ... Finished | ||
+ | </ | ||
+ | *** You have to create the {{{tmp/ | ||
+ | sudo -u gitlab -H mkdir tmp/pids/ | ||
+ | sudo chmod -R u+rwX tmp/pids/ | ||
+ | </ | ||
+ | *** And then restart sidekiq:< | ||
+ | sudo -u gitlab -H bundle exec rake sidekiq: | ||
+ | </ | ||
+ | * I use Apache in conjunction with unicorn. | ||
+ | ** Configure unicorn to listen to TCP connections:< | ||
+ | #listen 8080 # listen to port 8080 on all TCP interfaces | ||
+ | listen " | ||
+ | listen "# | ||
+ | </ | ||
+ | ** Configure Apache in conjunction with unicorn:< | ||
+ | < | ||
+ | ServerName houdini.cs.pub.ro | ||
+ | ServerAdmin webmaster@houdini.cs.pub.ro | ||
+ | |||
+ | DocumentRoot / | ||
+ | < | ||
+ | AllowOverride All | ||
+ | Options -MultiViews | ||
+ | </ | ||
+ | |||
+ | <Proxy balancer:// | ||
+ | BalancerMember http:// | ||
+ | </ | ||
+ | |||
+ | RewriteEngine on | ||
+ | RewriteCond %{DOCUMENT_ROOT}/ | ||
+ | RewriteRule ^/(.*)$ balancer:// | ||
+ | |||
+ | ProxyPass /uploads ! | ||
+ | ProxyPass / balancer:// | ||
+ | ProxyPassReverse / balancer:// | ||
+ | ProxyPreserveHost on | ||
+ | |||
+ | <Proxy *> | ||
+ | Order deny,allow | ||
+ | Allow from all | ||
+ | </ | ||
+ | |||
+ | # SSL Engine Switch: | ||
+ | # | ||
+ | SSLEngine on | ||
+ | |||
+ | # | ||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | SSLCertificateChainFile / | ||
+ | |||
+ | ErrorLog ${APACHE_LOG_DIR}/ | ||
+ | LogLevel warn | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | </ | ||
</ | </ |