location /gitlab (gitlab in a subdir)

Created by: ghost

this is not gitlab problem actually.. i want my gitlab be accessible on http://my_server/gitlab

i've changed config.ru

 # This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment',  __FILE__)
#https://groups.google.com/forum/#!msg/gitlabhq/mPcpq86VHew/4qupsUY90oEJ
map ActionController::Base.config.relative_url_root || "/" do
    run Gitlab::Application
end

in /etc/init.d/gitlab i've added --path /gitlab

OPTS="-c $APP_ROOT/config/unicorn.rb -E production -D --path /gitlab"

and i've made some changes in nginx config file also

location /gitlab

everything works axcept some assets

GET http://my_server/assets/korolev-medium-compressed-0ce04017f603a435456d17a3d64d2675.otf 404 (Not Found)
GET http://my_server/assets/fontawesome-webfont-745b5efebbdc00fdd6b2c4dc6b957657.woff 404 (Not Found) 
GET http://my_server/assets/fontawesome-webfont-6dd366bc6d7701471ccf87bd905088dc.ttf 404 (Not Found)
GET http://my_server/assets/fontawesome-webfont.svgz 404 (Not Found)
GET http://my_server/assets/fontawesome-webfont.svg 404 (Not Found) 

maybe anybody have any ideas?