|
|
@ -30,7 +30,7 @@ Rails.application.configure do
|
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
config.force_ssl = false
|
|
|
|
config.force_ssl = false
|
|
|
|