gitlab - 用矩形替换的图标 [英] gitlab - icons replaced by rectangles

查看:21
本文介绍了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 url 中有自定义根目录(也就是说,如果 GitLab 可以通过 http://myserver/aroot/... 而不仅仅是 http://myserver/),那么一些 url 重写会有所帮助(如 在此提出问题)

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 配置,issue 50 有最新的日期内容.

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

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

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