title: Can not access via ssh and view layout without css
body: <p>I set up the Gitlab in my company LAN,</p>
  
  <p>Now, I can access the Gitlab server by </p>
  
  <p><code>http://dqa-test</code></p>
  
  <p>But when I ran <code>sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production</code></p>
  
  <p>I got <code>Check GitLab API access: FAILED. code: 404</code></p>
  
  <pre><code>I've change the `host:` with dqa-test, dqa-test/ , with `http://` or not
  </code></pre>
  
  <p>But after all the above tries, it still got the same error by running self-check</p>
  
  <p>I can clone a project from via http , but no way in <code>ssh</code></p>
  
  <pre><code>git clone git@dqa-test:vvtk_dqa_automation_team/sandbox.git
  Cloning into 'sandbox'...
  Access denied.
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>My gitlab.yml</p>
  
  <pre><code>  ## GitLab settings
    gitlab:
      ## Web server settings (note: host is the FQDN, do not include http://)
      host: "http://dqa-test"
      port: 1987
      https: false
  </code></pre>
  
  <p>I have no idea why I don't have the correct layout</p>
  
  <p>It doesn't work when I ran <code>sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production</code></p>
  
  <p>I found the source code of html page are weird , but have no idea</p>
  
  <p>The link should not start with double slashes</p>
  
  <pre><code>&lt;link href="//assets/favicon-220424ba6cb497309f8faf8545eb5408.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /&gt;
  &lt;link href="//assets/application-1266844103d9cc711308315f1502e346.css" media="screen" rel="stylesheet" /&gt;
  &lt;script src="//assets/application-1a2e2b81d35aebc17df9d360d291a8b1.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Nr0hw.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/KBGG1.png" alt="enter image description here"></p>