Hello everyone,
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_external_url 'https://mat.domain.comâ
mattermost_nginx[âlisten_portâ] = 80
mattermost_nginx[âlisten_httpsâ] = false
Thank you in advance for your help