diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index fb6dfd07..58ff0dca 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -21,6 +21,11 @@ with BigBlueButton; if not, see .
+ <% if relative_root != '/b' %>
+
+ <% else %>
+ <%= stylesheet_link_tag 'fa/gl-fa', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <% end %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 7ccf92cc..cd23b595 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -87,4 +87,6 @@ Rails.application.configure do
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
+
+ config.relative_url_root = ENV['RAILS_RELATIVE_URL_ROOT'] || '/b'
end