Pour utiliser Gitlab derrière un reverse proxy type Nginx ou Apache.
Configuration à faire dans le fichier gitlab.rb :
external_url 'https://git.example.com'
nginx['listen_port'] = 80
nginx['listen_https'] = false
Ensuite reconfigure gitlab :
sudo gitlab-ctl reconfigure
Fonctionne également en mode Docker
Source : WebIDE Mixed Content on Docker with reverse Proxy (#33221) · Issues · GitLab.org / GitLab · GitLab