OpenID not working since update to 10.6.x

Hi everybody,

After the update to 10.6.x (still present in 10.6.2), my OpenID authentication does not work anymore:

root@gitlab-10.6.0 ~ > curl https://gitlab-10.6.0/.well-known/openid-configuration                                                 
<html><body>You are being <a href="https://gitlab-10.6.0/users/sign_in">redirected</a>.</body></html>

root@gitlab-10.6.0 ~ > curl -H "Accept: application/json" https://gitlab-10.6.0/.well-known/openid-configuration
{"error":"You need to sign in or sign up before continuing."}

In the last week, the result was

root@gitlab-10.5.x /tmp > curl -k https://gitlab-10.5.x/.well-known/openid-configuration
{"issuer":"https://gitlab-10.5.x ....."website","profile","picture"]}

and the authentication worked.

Edited by Andreas Steinel