Commit 6be8b4391cdc06bb7e454f37406f7b918b8de033
1 parent
9363cf19
Exists in
master
and in
52 other branches
Fixs relative url for gitlab assets.
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
cookbooks/gitlab/recipes/default.rb
... | ... | @@ -94,3 +94,7 @@ execute 'selinux-gitlab' do |
94 | 94 | command 'selinux-install-module /etc/selinux/local/gitlab.te' |
95 | 95 | action :nothing |
96 | 96 | end |
97 | + | |
98 | +execute 'fix-relative-url-for-assets' do | |
99 | + command 'sed -i \'s/# config.relative_url_root = "\/gitlab"/config.relative_url_root = "\/gitlab"/\' config/application.rb' | |
100 | +end | ... | ... |