#Nginx => Unicorn > Rails
##Nginx Setting
vim /etc/nginx/conf.d/default.conf
upstream app {
# Path to Unicorn SOCK file, as defined previously
server unix:/tmp/unicorn.myapp.sock fail_timeout=0;
#Nginx => Unicorn > Rails
##Nginx Setting
vim /etc/nginx/conf.d/default.conf
upstream app {
# Path to Unicorn SOCK file, as defined previously
server unix:/tmp/unicorn.myapp.sock fail_timeout=0;
ps aux | grep 'unicorn' | awk '{print $2}' | xargs sudo kill -9 |