With the advent of GitLab 8.0 and gitlab-git-http-server, it became slightly more difficult to run it using Passenger. These are my notes on the caveats.
Update (7.10.2015) gitlab-git-http-server has switched from sending a custom User-Agent
to sending a special header in version 0.9.14...
Creating custom error pages using Apache is easy. Simply put
ErrorDocument 404 /errors/404.html
in your vhost-config or .htaccess and apache will serve your file instead of that ugly default message.
However, when you use a static file, requests to /errors/404.html
will now result in your er...