Https error

I Have a GITLAB 7.6.2 (bitnami) and i have a error when using a https url.

The error is

Bad Request

Your browser sent a request that this server could not understand.
Reason: You’re speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

I´m using a load balancer F5, and the redirect to http://ip:port from my gitlab.

I haven’t used bitnami installation but it seems like it’s setup to use https protocol. To change to use http, you’ll need to update /etc/gitlab/gitlab.rb.
Set the value of “external_url” to use ‘http://’

Also, following:
gitlab_pages[‘redirect_http’] = false

Do “gitlab-ctl reconfigure” after changing the values.