Gitlab 不加载资产。我正在使用带有 Apache 服务器的 Gitlab 5.0。
有人能帮我吗?提前致谢!
我假设您使用 ProxyPass 和相对路径。
bundle exec rake assets:precompile RAILS_ENV=production RAILS_RELATIVE_URL_ROOT=/gitlab
确保将 /gitlab 替换为您在 unicorn.rb 中提供的任何内容)您可以参考的线程:https ://groups.google.com/forum/?fromgroups=#!topic/gitlabhq/BuaaCHoYoPo