Skip to content

Conversation

@bestlong
Copy link

@bestlong bestlong commented Jul 6, 2015

Adjust the environment with nginx

use root permission or sudo

mkdir -pv /etc/nginx/sites-available
mkdir -pv /etc/nginx/sites-enabled
touch /etc/nginx/conf.d/include-sites-enabled.conf
echo 'include /etc/nginx/sites-enabled/*;' > /etc/nginx/conf.d/include-sites-enabled.conf

setup unicorn to support centos

add a line set to /config/deploy/production.rb

set :unicorn_target_server_os, 'centos6'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant