Créer un vhost pour gitlab
Bonjour j'ai installé gitlab sur un serveur ubuntu cependant je ne peux pas l'utiliser pour le moment. Je dois créer un vhost.
Chemin d'installation gitlab :
Citation:
/home/git/gitlab/public/
Chemin web :
J'ai créé un fichier gitlab.conf dans /etc/apache2/sites-available/
Contenu :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
<VirtualHost *:80>
ServerAdmin webmaster@ks3309999.kimsufi.com
ServerName ks3309999.kimsufi.com
<Directory /gitlab>
Order Deny,Allow
Deny from All
ServerAlias ci
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost on
ProxyPass / http://localhost:8080/
</Directory>
</VirtualHost> |
Fichier Hosts /etc/hosts:
Je n'ai rien mis
Fichier /home/git/gitlab/config/gitlab.yml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
#
# 1. GitLab app settings
# ==========================
## GitLab settings
gitlab:
## Web server settings
host: ks3309999.kimsufi.com
port: 8080
https: false
relative_url_root: /gitlab |
Fichier /home/git/gitlab/config/unicorn.rb
Code:
1 2 3 4 5 6 7 8 9
|
# Help ensure your application will always spawn in the symlinked
# "current" directory that Capistrano sets up.
working_directory "/home/git/gitlab" # available in 0.94.0+
# listen on both a Unix domain socket and a TCP port,
# we use a shorter backlog for quicker failover when busy
listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64
listen "127.0.0.1:8080", :tcp_nopush => true |
Que dois faire de plus pour que gitlab fonctionne ? :calim2:
au moment de redémarrer apache j'ai ce message :
http://img4.hostingpics.net/pics/398047error.png
Merci