Tweaks to the production environment file
Your new Rails application built with Sjabloon comes with some configuration done for you. The production configuration is for settings that is used in your live (production) app. This file can be found in config/environments/production.rb
.
- Force SSL; a secure (https) connection should be default for every app nowadays
- adding “Rack::Deflater” (
config.middleware.use Rack::Deflater
); the the simplest thing to drastically reduce the size of your HTML / JSON controller responses - added the SMTP configuration for your SMTP provider (if set up by you)