|
@ -36,7 +36,7 @@ Starterapp::Application.configure do |
|
|
config.assets.version = '1.0' |
|
|
config.assets.version = '1.0' |
|
|
|
|
|
|
|
|
# Specifies the header that your server uses for sending files. |
|
|
# 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-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. |
|
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. |
|
@ -45,8 +45,6 @@ Starterapp::Application.configure do |
|
|
# Set to :debug to see everything in the log. |
|
|
# Set to :debug to see everything in the log. |
|
|
config.log_level = :info |
|
|
config.log_level = :info |
|
|
|
|
|
|
|
|
config.assets.initialize_on_precompile = false |
|
|
|
|
|
|
|
|
|
|
|
config.cache_classes = true |
|
|
config.cache_classes = true |
|
|
config.serve_static_assets = true |
|
|
config.serve_static_assets = true |
|
|
config.assets.compile = true |
|
|
config.assets.compile = true |
|
|