Automatically redirect all http requests to https

I installed gitlab 7.94 at local server. I keep all the configurations as default, however it always redirect http requests to https if somebody accesses it with gitlab.example.com (192.168.1.201) for example, but it is ok if accessed with gitlab.example.com/explore (192.168.1.201/explore), what’s the problem? how can I fix it?