gitlab - icons replaced by rectangles

2019-03-31 08:59发布

问题:

I recently installed gitlab and it seems that all of the icons are replaced by rectangles. Everything else seems to be working correctly.

Any idea what could be causing this?

edit: on another computer I seem to get Korean characters instead of the boxes. So obviously the boxes were the lack of that character set.

回答1:

This is usually resolved with:

rake assets:precompile RAILS_ENV=production

If you have a custom root in your GitLab url (that is, if GitLab is accessible through http://myserver/aroot/... instead of just http://myserver/), then some url rewriting can help (as proposed in this issue)

RewriteEngine on
RewriteRule ^(.*)/gitlab/(.*) http://xxx.xxx.xx/$2

For Apache configure, the issue 50 has the latest up-to-date content.



标签: gitlab