0
데비안 8 및 Apache를 실행하는 VPS에서 ISPConfig 3으로 관리되는 웹 사이트가 있습니다. domain.ee를 통해 웹 사이트에 액세스 할 수 있지만 git.domain.ee에서 내 GitLab을 실행하고 싶습니다.GitLab 및 ISPConfig 3 호
그러나 GitLab을 설치하고 실행하면 ISPConfig를 뒤엎고 실행을 시작했습니다. 내 gitlab.conf 아파치에 의해 runned 여기에
external_url 'http://git.domain.ee'
unicorn['port'] = 8080
web_server['external_users'] = ['www-data']
그리고 : git.domain.ee 및 domain.ee 여기
내 gitlab.rb의 설정 (그리고 다른 모든 내 VPS를 가리키는 adresses) :<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가 내 실제 도메인 이름으로 바뀝니다.