Unable to browse git repository. Why?

You may not be able to browse Git repositories if you have Git on a separate server with SSL turned off.

To fix this issue, add the following missing entries in httpd.conf of Gerrit server.
<VirtualHost *:80>
   RewriteEngine on
   RewriteOptions inherit
   AllowEncodedSlashes On
   # Set request header for url protocol
   RequestHeader set X_FORWARDED_PROTO 'http'
</VirtualHost>