I am using gitlab and mattermost behind reverse proxy on same domain and same server (as I use omnibus installation).
When I try to make the link between mattermost and gitlab by creating a team on the mattermost startup screen, I am redirected to Gitlab to validate the application but I have this error : The redirect URI included is not valid.
When I check the url, I can see that there is http instead of https : https://git.domain.com/oauth/authorize?response_type=code&client_id=xxxxxx&redirect_uri=http%3A%2F%2Fmat.domain.com%2Fsignup%2Fgitlab%2Fcomplete&state=yyyyyyyyy
How can I change http to https in the redirect_uri parameter ? When I change it manually, Gitlab seems to detect mattermost.
Here is my gitlab.rb : external_url ‘https://git.domain.com’
nginx[‘listen_port’] = 80
nginx[‘listen_https’] = false
mattermost_nginx[‘listen_port’] = 80
mattermost_nginx[‘listen_https’] = false
Thank you in advance for your help