essai
This commit is contained in:
parent
cc25e510ce
commit
b1863e649d
4
Gemfile
4
Gemfile
@ -20,10 +20,10 @@ gem 'mysql2'
|
||||
gem 'jquery-rails'
|
||||
|
||||
# To use ActiveModel has_secure_password
|
||||
# gem 'bcrypt-ruby', '~> 3.0.0'
|
||||
gem 'bcrypt-ruby', '~> 3.0.0'
|
||||
|
||||
# Use unicorn as the web server
|
||||
# gem 'unicorn'
|
||||
gem 'unicorn'
|
||||
|
||||
# Deploy with Capistrano
|
||||
gem 'capistrano'
|
||||
|
@ -9,7 +9,6 @@ development:
|
||||
database: blog_app
|
||||
pool: 5
|
||||
username: root
|
||||
# password: dev
|
||||
socket: /tmp/mysql.sock
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
|
@ -25,7 +25,8 @@ Crossey2::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
|
||||
|
Loading…
x
Reference in New Issue
Block a user