title: Configure gitlab omnibus with HTTPS without certificate for nginx on AWS
body: <p>I'm having trouble configuring my gitlab server. I want it's external URL to be in <strong>HTTPS</strong>, but I want nginx to work like if it was configured for <strong>HTTP</strong>.</p>
  
  <p>My Gitlab server is installed on an AWS EC2, with an ELB (load balancer) behind. The ELB handle the HTTPS stuff (with and ACM) so the gitlab instance serve on HTTP:</p>
  
  <blockquote>
    <p>WEB =>(HTTPS)=> [ELB] =>(HTTP)=> [EC2]</p>
  </blockquote>
  
  <p>For now, gitlab is configure with <code>external_url 'http://gitlab.*****'</code>, it works for basic thing, but for the CI output trace for example, gitlab try to fetch it using an HTTP url, having then the error :</p>
  
  <blockquote>
    <p>Mixed Content: The page at '<a href="https://gitlab" rel="nofollow noreferrer">https://gitlab</a>.*****/[owner]/[project]/-/jobs/44' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '<a href="http://gitlab" rel="nofollow noreferrer">http://gitlab</a>.*****/[owner]/[project]/-/jobs/44/-/jobs/44/trace.json?state='. This request has been blocked; the content must be served over HTTPS.</p>
  </blockquote>
  
  <p>Any idea how I can configure this?</p>