gitlab-图标被矩形取代 [英] gitlab - icons replaced by rectangles

查看:167
本文介绍了gitlab-图标被矩形取代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了gitlab,似乎所有图标都被矩形取代了.其他一切似乎都正常运行.

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.

推荐答案

通常通过以下方法解决:

This is usually resolved with:

rake assets:precompile RAILS_ENV=production

如果您的GitLab网址中有一个自定义根目录(即,如果可以通过http://myserver/aroot/...而不是仅通过http://myserver/来访问GitLab),则可以重写一些网址(如

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

对于Apache配置,问题50 具有最新的-日期内容.

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

这篇关于gitlab-图标被矩形取代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆