configuration for production

This commit is contained in:
2015-01-03 10:52:34 +01:00
parent 52ec22646b
commit 3799e5f842
7 changed files with 20 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ Fetsite::Application.configure do
# Specifies the header that your server uses for sending files
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true
@@ -42,11 +42,6 @@ Fetsite::Application.configure do
# Use a different cache store in production
# config.cache_store = :mem_cache_store
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
@@ -54,8 +49,9 @@ Fetsite::Application.configure do
# config.assets.precompile += %w( search.js )
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options={:host=>"glonass.htu.tuwien.ac.at"}
# config.action_mailer.raise_delivery_errors = false
config.action_mailer.delivery_method =:sendmail
config.action_mailer.default_url_options={:host=>"www.fet.at"}
# Enable threaded mode
# config.threadsafe!