Bad 301 redirect for CI domain

My instance running 8.0 has gitlab.mydomain.com and ci.mydomain.com point to the same server (as instructed here). The ci.mydomain.com url is redirecting to http:///ci/:

$ curl ci.mydomain.com -v
* Rebuilt URL to: ci.mydomain.com/
*   Trying 45.55.51.128...
* Connected to ci.mydomain.com (45.55.51.128) port 80 (#0)
> GET / HTTP/1.1
> Host: ci.mydomain.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: nginx
< Date: Tue, 22 Sep 2015 18:27:34 GMT
< Content-Type: text/html
< Content-Length: 178
< Connection: keep-alive
< Location: http:///ci/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
* Connection #0 to host ci.mydomain.com left intact

gitlab.mydomain.com/ci is functional, and the CI process/workers themselves work fine

Assignee Loading
Time tracking Loading