handle https for gitlab