diff --git a/cookbooks/gitlab/recipes/default.rb b/cookbooks/gitlab/recipes/default.rb index 16a157d..0d65e08 100644 --- a/cookbooks/gitlab/recipes/default.rb +++ b/cookbooks/gitlab/recipes/default.rb @@ -94,3 +94,7 @@ execute 'selinux-gitlab' do command 'selinux-install-module /etc/selinux/local/gitlab.te' action :nothing end + +execute 'fix-relative-url-for-assets' do + command 'sed -i \'s/# config.relative_url_root = "\/gitlab"/config.relative_url_root = "\/gitlab"/\' config/application.rb' +end -- libgit2 0.21.2