This commit is contained in:
Nico 2013-02-13 00:03:03 +01:00
parent cc25e510ce
commit b1863e649d
3 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

@ -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

View File

@ -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