Hi everyone,
I'm using gitlab for some month now. I'm very happy with it. But i access
my gitlab with an address like that : https://example.com:6543
I want to use a reverse proxy to access my gitlab with an adress like that
one : https://gitlab.example.co
The fact is that my server already run apache on port 80 for a lot of
webservices, I don't want to migrate to nginx (which is used by GitLab
omnibus)
So I made this vhost configuration :
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName gitlab.example.com
ServerSignature Off
CustomLog /var/log/httpd/gitlab_access.log combined
ErrorLog /var/log/httpd/gitlab_error.log
<IfModule mod_proxy.c>
ProxyVia On
ProxyRequests Off
ProxyPass / https://example.com:6543/
ProxyPassReverse / https://example.com:6543/
ProxyPreserveHost Off
<Proxy *>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Proxy>
</IfModule>
# SSL Config
SSLCertificateFile /etc/ssl/example.com/default.crt
SSLCertificateKeyFile /etc/ssl/example.com/default.key
SSLEngine on
SSLProtocol all -SSLv2
SSLHonorCipherOrder on
SSLCipherSuite ALL:!aNULL:!eNULL:!LOW:!EXP:!RC4:!3DES:+HIGH:+MEDIUM
Header set Strict-Transport-Security "max-age=2678400"
</VirtualHost>
</IfModule>
<VirtualHost *:80>
ServerName gitlab.example.com
Redirect / https://gitlab.example.com:443
</VirtualHost>
And that's not working, my server send 500 error...
There's nothing in log files. I try to redirect to the unicorn server, but
it was painfully slow, and I can't login...
Thanks for your help
AMDG
PS: this question is duplicate from :
-
http://serverfault.com/questions/617694/apache-as-a-reverse-proxy-for-gitlab-omnibus
-
http://superuser.com/questions/792346/using-apache-as-a-reverse-proxy-for-gitlab-omnibus
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/f39fa290-cb91-497e-a82f-adfa72e3e0cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.