diff --git a/.gitignore b/.gitignore index 271006cd815eb..0b65261987f45 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ .env /.yardoc/ /.ruby-version +/.rbenv-gemsets /app/views/info/styleguide.html.erb /config/*.yml /config/environments/*-local.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index 9ce8219d750cb..f1a11c14ed52b 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -17,6 +17,7 @@ environment_configuration(defined?(config) && config) do |config| # Settings specified here will take precedence over those in config/application.rb + config.action_controller.default_url_options = { protocol: 'https' } # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests