0
我有一个运行Debian 8和Apache的VPS上的ISPConfig 3管理的网站。 该网站是通过domain.ee访问,但我想让我的GitLab在git.domain.ee上运行(同时)在git.domain.eeGitLab和ISPConfig 3问题
但是当我安装GitLab并运行它时,他覆盖ISPConfig并开始运行git.domain.ee和domain.ee(和所有其他人不会忽略指着我的VPS)
这里是我的gitlab.rb配置:
external_url 'http://git.domain.ee'
unicorn['port'] = 8080
web_server['external_users'] = ['www-data']
,这里是我的gitlab.conf由阿帕奇拼命地跑:
<VirtualHost *:80>
ServerName git.domain.ee
ServerSignature Off
ProxyPreserveHost On
<Location />
Order deny,allow
Allow from all
ProxyPassReverse http://127.0.0.1:8080
ProxyPassReverse http://git.domain.ee/
</Location>
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
DocumentRoot /opt/gitlab/embedded/service/gitlab-rails/public
</VirtualHost>
显然domain.ee被替换为我的真实域名。在localhost