CI handshake failed

Hi everyone,

I have the following CI error on a self-hosted deployment:

fatal: unable to access 'https://gitlab-ci-token:xxxxxx@gitlab.kwant-project.org/anton-akhmerov/kwant.git/': gnutls_handshake() failed: Handshake failed

Any idea what could be wrong? The whole thing is the official 8.0 docker image, and the runner is just ubuntu:trusty.

EDIT: resolved, was wrong nginx config.