Using the latest version from the GitLab-CE repository.
After the upgrade from 6.4.3 to 6.5, I had an issue with my apache2
configuration. After some research, I found that I needed to add some
additional flags to my proxy configuration in order to make the login work
back again. Everything works, excepts that Gravatars aren't fetched using
an SSL encryption, which makes Chrome show me this warning:
http://i.imgur.com/6SrT3Lf.png. If I take a look at the console:
http://i.imgur.com/IX8V0gR.png. Looks like the upper right gravatar is
using SSL: http://i.imgur.com/GVB9txC.png. So what can it be? Well it looks
like that the Dashboard gravatars aren't loaded using SSL:
http://i.imgur.com/TlncSEg.png.
My apache2 configuration is:
<VirtualHost *:80>
ServerName example.ca
ServerAlias example.ca
ErrorLog /var/log/apache2/gitlab-error.log
CustomLog /var/log/apache2/gitlab-access.log combined
ServerSignature Off
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
DocumentRoot /home/user/server/apache2/www_null
</VirtualHost>
# example.ca (ssl)
<VirtualHost *:443>
ServerName example.ca
ServerSignature Off
SSLEngine on
SSLCipherSuite
SSLv3:TLSv1:+HIGH:!SSLv2:!MD5:!MEDIUM:!LOW:!EXP:!ADH:!eNULL:!aNULL
SSLCertificateFile /home/user/.ssl/certs/example.com/example.com.crt
SSLCertificateKeyFile
/home/user/.ssl/certs/example.com/example.com-decrypted.key
SSLCertificateChainFile /home/user/.ssl/certs/sub.class1.server.ca.pem
SSLCACertificateFile /home/user/.ssl/certs/ca.pem
ProxyPreserveHost On
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</IfModule>
#
http://stackoverflow.com/questions/10954516/apache2-proxypass-for-rails-app-gitlab
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
RequestHeader set X_FORWARDED_PROTO 'https'
DocumentRoot /home/git/gitlab/public
#Set up apache error documents, if back end goes down (i.e. 503 error)
then a maintenance/deploy page is thrown up.
ErrorDocument 404 /404.html
ErrorDocument 422 /422.html
ErrorDocument 500 /500.html
ErrorDocument 503 /deploy.html
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b" common_forwarded
ErrorLog /var/log/apache2/example.com_error.log
CustomLog /var/log/apache2/example.com_forwarded.log common_forwarded
CustomLog /var/log/apache2/example.com_access.log combined env=!dontlog
CustomLog /var/log/apache2/example.com.log combined
</VirtualHost>
Settings correctly configured in gitlab.yml: http://i.imgur.com/ldgOwHB.png
Can someone verify if this is a known issue or is there's any
misconfiguration in my setup?
Thanks,
Dave
--
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].
For more options, visit https://groups.google.com/groups/opt_out.