【问题标题】:Gitlab does not load assetsGitlab 不加载资产
【发布时间】:2013-04-25 22:53:11
【问题描述】:

Gitlab 不加载资源。我正在使用带有 Apache 服务器的 Gitlab 5.0。

有人可以帮助我吗? 提前致谢!

【问题讨论】:

    标签: git apache gitlab


    【解决方案1】:

    我假设您使用 ProxyPass 和相对路径。

    1. 停止 GitLab 服务
    2. 在 /home/git/gitlab 文件夹中运行它:
      bundle exec rake assets:precompile RAILS_ENV=production RAILS_RELATIVE_URL_ROOT=/gitlab (确保将 /gitlab 替换为您在 unicorn.rb 中提供的任何内容)
    3. 启动服务

    一个帖子你可以参考:https://groups.google.com/forum/?fromgroups=#!topic/gitlabhq/BuaaCHoYoPo

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-23
      • 1970-01-01
      • 1970-01-01
      • 2021-06-01
      • 2018-12-07
      相关资源
      最近更新 更多